universal7885: Enable ZRAM

Change-Id: Icd48749ad781ba48592fbcc2dc7c3ad88c659a57
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
SamarV-121 2020-09-08 15:53:16 +00:00 committed by roynatech2544
commit cb0a5bcccb
5 changed files with 20 additions and 1 deletions

View file

@ -4,6 +4,13 @@ on init
# Disable vendor overlay
mount none /vendor/lost+found /vendor/overlay bind
# ZRAM parameters
write /proc/sys/vm/page-cluster 0
write /proc/sys/vm/swappiness 100
on fs
swapon_all /system/etc/fstab.enableswap
service argos-daemon /system/bin/true
oneshot
disabled