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
master
Daniel Dickinson 14 years ago
parent 5cc5f15047
commit b6d521ea33
  1. 2
      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() {

Loading…
Cancel
Save