summaryrefslogtreecommitdiff
path: root/package/compcache/files
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/files
parent88385e633d87d73954688266560ac3c17547f38a (diff)
downloadmtk-20170518-e622f65cc6e58d9c7bad700e4a4ec699cb81f8cd.zip
mtk-20170518-e622f65cc6e58d9c7bad700e4a4ec699cb81f8cd.tar.gz
mtk-20170518-e622f65cc6e58d9c7bad700e4a4ec699cb81f8cd.tar.bz2
package/compcache: initialize swap driver and introduce a delay before mounting
SVN-Revision: 22368
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