1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 02:53:44 +02:00

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
This commit is contained in:
acoul 2010-07-23 13:51:22 +00:00
parent 3a2279a573
commit c4c1131ec8

View File

@ -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