mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:46:16 +02:00
package/compcache: clean unneeded swap initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22409 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
53e5fdd4e4
commit
c07292d5b4
@ -20,7 +20,6 @@ load_modules() {
|
|||||||
if [ "`lsmod | grep 'ramzswap'`" == "" ]; then
|
if [ "`lsmod | grep 'ramzswap'`" == "" ]; then
|
||||||
insmod lzo1x
|
insmod lzo1x
|
||||||
insmod ramzswap $params_set
|
insmod ramzswap $params_set
|
||||||
rzscontrol /dev/ramzswap0 --init
|
|
||||||
sleep 2
|
sleep 2
|
||||||
swapon /dev/ramzswap0
|
swapon /dev/ramzswap0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user