From 3ec4301d47ff61e1f9010f66d466216cebb59e62 Mon Sep 17 00:00:00 2001 From: "Alexandros C. Couloumbis" Date: Fri, 23 Jul 2010 13:51:22 +0000 Subject: package/compcache: initialize swap driver and introduce a delay before mounting git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22368 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/compcache/files/compcache.init | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package') 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 -- cgit v1.2.3