block-mount: Enable swap before doing fsck so that large filesystem checks have swap...
authorDaniel Dickinson <crazycshore@gmail.com>
Mon, 12 Jul 2010 16:25:09 +0000 (16:25 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Mon, 12 Jul 2010 16:25:09 +0000 (16:25 +0000)
SVN-Revision: 22147

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() {