From e622f65cc6e58d9c7bad700e4a4ec699cb81f8cd Mon Sep 17 00:00:00 2001 From: "Alexandros C. Couloumbis" Date: Fri, 23 Jul 2010 13:51:22 +0000 Subject: [PATCH] package/compcache: initialize swap driver and introduce a delay before mounting SVN-Revision: 22368 --- package/compcache/files/compcache.init | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/compcache/files/compcache.init b/package/compcache/files/compcache.init index ec377ffaa85..aa5d782e543 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 -- 2.30.2