diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-07-11 16:09:29 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-07-11 16:09:29 +0200 |
commit | 4a9a3f1a06b2d180b80a4ec17f0c4b4003773316 (patch) | |
tree | 99864452e0488fb691cef8626cc4331e8f0c5c6a /package/base-files/src | |
parent | 9961e5898f70db51ffc4f093e5d0777bb9b287ff (diff) |
fix cifs mounts on bootup, mount -a after network initialization. add LD_LIBRARY_PATH for raspberry pi special vc tools
Diffstat (limited to 'package/base-files/src')
-rw-r--r-- | package/base-files/src/etc/init.d/boot | 4 | ||||
-rw-r--r-- | package/base-files/src/etc/init.d/mount | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/package/base-files/src/etc/init.d/boot b/package/base-files/src/etc/init.d/boot index e30360142..ed55ccc88 100644 --- a/package/base-files/src/etc/init.d/boot +++ b/package/base-files/src/etc/init.d/boot @@ -26,8 +26,4 @@ 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 diff --git a/package/base-files/src/etc/init.d/mount b/package/base-files/src/etc/init.d/mount new file mode 100644 index 000000000..f0df597e5 --- /dev/null +++ b/package/base-files/src/etc/init.d/mount @@ -0,0 +1,10 @@ +#!/bin/sh +#INIT 99 +[[ $1 = autostart ]] || exit 0 + +# 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 |