diff --git a/services/etc/init.cfg b/services/etc/init.cfg index 8b18193dcdcb4d29c98a654ff95d0992ada828e8..33e62f650b584529ab3971fe6b9cb0c186eb5783 100755 --- a/services/etc/init.cfg +++ b/services/etc/init.cfg @@ -198,6 +198,9 @@ }, { "name" : "boot", "cmds" : [ + "write /sys/block/zram0/disksize 1024M", + "mkswap /dev/block/zram0", + "swapon /dev/block/zram0", "write /proc/sys/net/core/xfrm_acq_expires 3600", "write /proc/sys/vm/overcommit_memory 1", "write /proc/sys/vm/min_free_order_shift 4",