mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-20 22:00:46 +00:00
block-mount: Attempt swapon a after mounting as well as before. This ensures that swap on a filesystem is enabled.
SVN-Revision: 22150
This commit is contained in:
parent
117590a2ce
commit
b9dfb5d483
@ -50,6 +50,7 @@ start() {
|
|||||||
}
|
}
|
||||||
config_foreach do_swapon swap
|
config_foreach do_swapon swap
|
||||||
config_foreach do_mount mount
|
config_foreach do_mount mount
|
||||||
|
config_foreach do_swapon swap # do swap a second time so that swap on filesystems is enabled
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
Loading…
Reference in New Issue
Block a user