block-mount: Attempt swapon a after mounting as well as before. This ensures that...
authorDaniel Dickinson <crazycshore@gmail.com>
Mon, 12 Jul 2010 17:28:50 +0000 (17:28 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Mon, 12 Jul 2010 17:28:50 +0000 (17:28 +0000)
SVN-Revision: 22150

package/block-mount/files/fstab.init

index fdcd4f52a278115cb8a3ba73333894206f244c59..6aeee8f3400094d2aee5f8fe795569b097029c34 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() {