mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 03:32:25 +02:00
[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
This commit is contained in:
parent
76c3e31af1
commit
883ca719d3
@ -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
Block a user