aboutsummaryrefslogtreecommitdiffstats
path: root/package/compcache
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-07-23 13:51:22 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-07-23 13:51:22 +0000
commite622f65cc6e58d9c7bad700e4a4ec699cb81f8cd (patch)
tree80bb4b13280840173608edfd6cabeec7c8e2243a /package/compcache
parent88385e633d87d73954688266560ac3c17547f38a (diff)
downloadupstream-e622f65cc6e58d9c7bad700e4a4ec699cb81f8cd.tar.gz
upstream-e622f65cc6e58d9c7bad700e4a4ec699cb81f8cd.tar.bz2
upstream-e622f65cc6e58d9c7bad700e4a4ec699cb81f8cd.zip
package/compcache: initialize swap driver and introduce a delay before mounting
SVN-Revision: 22368
Diffstat (limited to 'package/compcache')
-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