1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:42:29 +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:
acoul 2010-07-28 15:10:20 +00:00
parent 53e5fdd4e4
commit c07292d5b4

View File

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