[base-files]: On shutdown disabled every mounted swap device.

Fixes #4721
Thanks to Angel Marin


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14770 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Hauke Mehrtens 2009-03-07 12:58:08 +00:00
parent 56ca90a338
commit d9a804f344
1 changed files with 1 additions and 0 deletions

View File

@ -62,5 +62,6 @@ stop() {
config_load fstab
config_foreach do_unmount mount
config_foreach do_swapoff swap
[ -x /sbin/swapoff ] && swapoff -a
}