mirror of
https://github.com/outbackdingo/openwrt.git
synced 2026-01-27 18:19:53 +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:
@@ -50,6 +50,7 @@ start() {
|
||||
}
|
||||
config_foreach do_swapon swap
|
||||
config_foreach do_mount mount
|
||||
config_foreach do_swapon swap # do swap a second time so that swap on filesystems is enabled
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
||||
Reference in New Issue
Block a user