projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block-mount: Attempt swapon a after mounting as well as before. This ensures that...
[openwrt/staging/yousong.git]
/
package
/
block-mount
/
files
/
fstab.init
diff --git
a/package/block-mount/files/fstab.init
b/package/block-mount/files/fstab.init
index fdcd4f52a278115cb8a3ba73333894206f244c59..6aeee8f3400094d2aee5f8fe795569b097029c34 100644
(file)
--- a/
package/block-mount/files/fstab.init
+++ b/
package/block-mount/files/fstab.init
@@
-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() {