Re: [OpenWrt-Devel] [PATCH] zram-swap: set a high priority for the swap

2015-05-27 Thread Bastian Bittorf
* Juan Orti Alcaine j.orti.alca...@gmail.com [26.05.2015 07:59]: - swapon $zram_dev + swapon -p 100 $zram_dev please use at least: swapon -p X $dev || swapon $dev so it can work even without '-p' option, which is optional in busybox. bye, bastian

[OpenWrt-Devel] [PATCH] zram-swap: set a high priority for the swap

2015-05-24 Thread Juan Orti Alcaine
The zram swap must be activated with a higher priority than disk-based swap, so it is used before any other. This patch activates the zram-based swap with a priority of 100. Signed-off-by: Juan Orti Alcaine j.orti.alca...@gmail.com --- package/system/zram-swap/files/zram.init | 2 +- 1 file