[package] block-mount: Attempt swapon a after mounting as well as before. This ensur...
[openwrt.git] / 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
        config_foreach do_mount mount
+       config_foreach do_swapon swap  # do swap a second time so that swap on filesystems is enabled
 }
 
 stop() {
 }
 
 stop() {