[package] block-mount: Attempt swapon a after mounting as well as before. This ensur...
authorcshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 12 Jul 2010 17:28:50 +0000 (17:28 +0000)
committercshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 12 Jul 2010 17:28:50 +0000 (17:28 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22150 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/block-mount/files/fstab.init

index fdcd4f5..6aeee8f 100644 (file)
@@ -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() {