mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-28 14:49:17 +00:00
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:
parent
5cc5f15047
commit
b6d521ea33
@ -44,8 +44,8 @@ start() {
|
|||||||
lock /var/lock/fstab.lck
|
lock /var/lock/fstab.lck
|
||||||
echo '# WARNING: this is an auto generated file, please use uci to set defined filesystems' > /etc/fstab
|
echo '# WARNING: this is an auto generated file, please use uci to set defined filesystems' > /etc/fstab
|
||||||
lock -u /var/lock/fstab.lck
|
lock -u /var/lock/fstab.lck
|
||||||
config_foreach do_mount mount
|
|
||||||
config_foreach do_swapon swap
|
config_foreach do_swapon swap
|
||||||
|
config_foreach do_mount mount
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user