aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dickinson <daniel@cshore.neomailbox.net>2010-07-12 16:25:09 +0000
committerDaniel Dickinson <daniel@cshore.neomailbox.net>2010-07-12 16:25:09 +0000
commitd2f3a21390b5566eaf55265aa7509f52450f8827 (patch)
treea988e7dea11bf04e5f44bdbb7ab46dc4b4a608d7
parent466667bc03baea28deb1f5c5c3697599cc202653 (diff)
downloadmaster-187ad058-d2f3a21390b5566eaf55265aa7509f52450f8827.tar.gz
master-187ad058-d2f3a21390b5566eaf55265aa7509f52450f8827.tar.bz2
master-187ad058-d2f3a21390b5566eaf55265aa7509f52450f8827.zip
[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
-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 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() {