init.mmi.rc: enable zram on boot_complete
This help to save ~50ms in boot time and bootanim shown time Bug: 62957152 Test: marlin boot and swap look normal after boot Change-Id: Icabec31aa677bd606ca8735fe9d2acb54e88bd75
This commit is contained in:
@@ -65,7 +65,6 @@ on post-fs
|
||||
chmod 0711 /persist/rfs/msm/mpss
|
||||
chmod 0771 /persist/rfs/msm/mpss/mot_rfs
|
||||
|
||||
swapon_all fstab.qcom
|
||||
write /proc/sys/vm/page-cluster 0
|
||||
|
||||
on post-fs-data
|
||||
@@ -305,3 +304,7 @@ on property:sys.wifi.tethering=false
|
||||
|
||||
on property:ro.bootmode=normal
|
||||
write /sys/module/usb3813_hub/parameters/boost_val 3
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
# Enable ZRAM on boot_complete
|
||||
swapon_all fstab.qcom
|
||||
|
||||
Reference in New Issue
Block a user