aboutsummaryrefslogtreecommitdiffstats
path: root/package/compcache/files/compcache.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/compcache/files/compcache.init')
-rw-r--r--package/compcache/files/compcache.init2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/compcache/files/compcache.init b/package/compcache/files/compcache.init
index ec377ffaa8..aa5d782e54 100644
--- a/package/compcache/files/compcache.init
+++ b/package/compcache/files/compcache.init
@@ -20,6 +20,8 @@ load_modules() {
if [ "`lsmod | grep 'ramzswap'`" == "" ]; then
insmod lzo1x
insmod ramzswap $params_set
+ rzscontrol /dev/ramzswap0 --init
+ sleep 2
swapon /dev/ramzswap0
fi
fi