mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 16:43:09 +02:00
[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
This commit is contained in:
parent
86bb57e717
commit
52993b922e
@ -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…
Reference in New Issue
Block a user