From: Daniel Dickinson Date: Mon, 12 Jul 2010 16:25:09 +0000 (+0000) Subject: block-mount: Enable swap before doing fsck so that large filesystem checks have swap... X-Git-Tag: reboot~19433 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=b6d521ea33df33a44461a0f394c6b9811ae2ca5d;p=openwrt%2Fstaging%2Fjogo.git block-mount: Enable swap before doing fsck so that large filesystem checks have swap as well as memory (as they take large memory for large partitions). Closes #7599. SVN-Revision: 22147 --- diff --git a/package/block-mount/files/fstab.init b/package/block-mount/files/fstab.init index bd2bf24cb0..d755eccf08 100644 --- a/package/block-mount/files/fstab.init +++ b/package/block-mount/files/fstab.init @@ -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() {