block-mount: Attempt swapon a after mounting as well as before. This ensures that...
[openwrt/staging/yousong.git] / 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() {