block-mount: Enable swap before doing fsck so that large filesystem checks have swap...
[openwrt/staging/yousong.git] / package / block-mount / files / fstab.init
index bd2bf24cb0f41f9e1e8dd1fc215917371450b51f..d755eccf08a4305cfa8240b4d1136a82db6872f8 100644 (file)
@@ -44,8 +44,8 @@ start() {
        lock /var/lock/fstab.lck
        echo '# WARNING: this is an auto generated file, please use uci to set defined filesystems' > /etc/fstab
        lock -u /var/lock/fstab.lck
-       config_foreach do_mount mount
        config_foreach do_swapon swap
+       config_foreach do_mount mount
 }
 
 stop() {