summaryrefslogtreecommitdiff
path: root/package/compcache/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/compcache/files')
-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 ec377ff..aa5d782 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