diff options
-rw-r--r-- | rootdir/fstab.tuna | 3 | ||||
-rwxr-xr-x | rootdir/init.tuna.rc | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/rootdir/fstab.tuna b/rootdir/fstab.tuna index a314361..6216bb9 100644 --- a/rootdir/fstab.tuna +++ b/rootdir/fstab.tuna @@ -19,3 +19,6 @@ # USB storage device /devices/platform/omap/musb-omap2430/musb-hdrc auto auto defaults voldmanaged=usbdisk:auto + +# zRAM +/dev/block/zram0 none swap defaults zramsize=67108864 diff --git a/rootdir/init.tuna.rc b/rootdir/init.tuna.rc index b79b12d..7399bfc 100755 --- a/rootdir/init.tuna.rc +++ b/rootdir/init.tuna.rc @@ -63,10 +63,14 @@ on boot on fs mkdir /factory 0775 radio radio + mount_all /fstab.tuna + swapon_all /fstab.tuna + restorecon /dev/block/platform/omap/omap_hsmmc.0/by-name/radio restorecon_recursive /factory mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/efs /factory ro remount + setprop ro.crypto.fuse_sdcard true # change permissions for mtd device |