work aroung error message during boot if swapon is nt installed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12087 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
8929c4a880
commit
b5a563ee16
|
@ -55,7 +55,7 @@ start() {
|
||||||
config_foreach do_mount mount
|
config_foreach do_mount mount
|
||||||
config_foreach do_swapon swap
|
config_foreach do_swapon swap
|
||||||
mount -a
|
mount -a
|
||||||
swapon -a
|
[ -x /sbin/swapon ] && swapon -a
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
|
Loading…
Reference in New Issue