mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue