mirror of https://github.com/hak5/openwrt-owl.git
parent
bbd756364f
commit
4f36f4051a
|
@ -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