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-a3cf2f4a3e73
master
John Crispin 2008-08-04 08:50:16 +00:00
parent 8929c4a880
commit b5a563ee16
1 changed files with 1 additions and 1 deletions

View File

@ -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() {