mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:07:11 +02:00
[package] block-mount: Attempt swapon a after mounting as well as before. This ensures that swap on a filesystem is enabled.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22150 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
36d52e89e7
commit
c98e83d466
@ -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…
Reference in New Issue
Block a user