diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-20 10:51:04 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-20 10:51:04 +0200 |
commit | 11a26c7947fc54521e5e380518937dba7f07d8ca (patch) | |
tree | afaac68930ea588c68bb8e21b9537fd6d8264d67 /package/base-files/src/etc/init.d/boot | |
parent | 794a4a75d2e2c513e55b8962ad9e8e470dd82ba8 (diff) |
try to mount secondary filesystems after modules are loaded
Diffstat (limited to 'package/base-files/src/etc/init.d/boot')
-rw-r--r-- | package/base-files/src/etc/init.d/boot | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/base-files/src/etc/init.d/boot b/package/base-files/src/etc/init.d/boot index ed55ccc88..e30360142 100644 --- a/package/base-files/src/etc/init.d/boot +++ b/package/base-files/src/etc/init.d/boot @@ -26,4 +26,8 @@ for f in /etc/modules.d/*; do done # settle down, after module load sleep 2 +# any lvm volumes to activate? +[ -x /usr/sbin/lvm ] && { lvm vgscan; lvm vgchange -ay;} +# check and mount all filesystems not / +[ -f /etc/fstab ] && { fsck -p >/dev/null; mount -a; swapon -a;} exit 0 |