mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-03 21:09:42 +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_swapon swap
|
||||||
config_foreach do_mount mount
|
config_foreach do_mount mount
|
||||||
|
config_foreach do_swapon swap # do swap a second time so that swap on filesystems is enabled
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
Loading…
Reference in New Issue
Block a user