mirror of https://github.com/hak5/openwrt-owl.git
On shutdown disabled every mounted swap device. Fixes #4721 Thanks to Angel Marin
SVN-Revision: 14770owl
parent
2f1c2dc3a1
commit
3ac154fc9c
|
@ -62,5 +62,6 @@ stop() {
|
|||
config_load fstab
|
||||
config_foreach do_unmount mount
|
||||
config_foreach do_swapoff swap
|
||||
[ -x /sbin/swapoff ] && swapoff -a
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue