mirror of
https://github.com/openwrt/openwrt.git
synced 2025-12-28 12:10:02 +04: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