summaryrefslogtreecommitdiffstats
path: root/package/block-mount
diff options
context:
space:
mode:
authorcshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-12 16:25:09 +0000
committercshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-12 16:25:09 +0000
commit52993b922e683b5f97139aa06f003e879018319d (patch)
treea988e7dea11bf04e5f44bdbb7ab46dc4b4a608d7 /package/block-mount
parent86bb57e71731c95ad9c4137f09c6ee2bcd085632 (diff)
[package]: 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22147 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/block-mount')
-rw-r--r--package/block-mount/files/fstab.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/block-mount/files/fstab.init b/package/block-mount/files/fstab.init
index bd2bf24cb..d755eccf0 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() {