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
This commit is contained in:
Daniel Dickinson 2010-07-12 16:25:09 +00:00
parent 5cc5f15047
commit b6d521ea33

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