From: Alexandros C. Couloumbis Date: Fri, 23 Jul 2010 13:51:22 +0000 (+0000) Subject: package/compcache: initialize swap driver and introduce a delay before mounting X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e622f65cc6e58d9c7bad700e4a4ec699cb81f8cd;p=openwrt%2Fstaging%2Fzorun.git package/compcache: initialize swap driver and introduce a delay before mounting SVN-Revision: 22368 --- 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