summaryrefslogtreecommitdiff
path: root/package/block-mount
diff options
context:
space:
mode:
authorDaniel Dickinson <crazycshore@gmail.com>2010-07-12 16:25:09 +0000
committerDaniel Dickinson <crazycshore@gmail.com>2010-07-12 16:25:09 +0000
commitb6d521ea33df33a44461a0f394c6b9811ae2ca5d (patch)
tree82c7c38ed08584e181d81c3f50097aa0462aa8db /package/block-mount
parent5cc5f150473eaa627c957ec4d9a340d6dc8c0c45 (diff)
downloadmtk-20170518-b6d521ea33df33a44461a0f394c6b9811ae2ca5d.zip
mtk-20170518-b6d521ea33df33a44461a0f394c6b9811ae2ca5d.tar.gz
mtk-20170518-b6d521ea33df33a44461a0f394c6b9811ae2ca5d.tar.bz2
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
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 bd2bf24..d755ecc 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() {