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:
parent
3a2279a573
commit
c4c1131ec8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user