diff options
author | Mike Westerhof <mwester@dls.net> | 2008-08-29 16:53:31 +0000 |
---|---|---|
committer | Mike Westerhof <mwester@dls.net> | 2008-08-29 16:53:31 +0000 |
commit | feb7dfbddb590c8ab69b9c669b02ad6edffd355d (patch) | |
tree | 239e8acdfe3ab51868135c75f3c561ab801b40b4 /packages/initscripts/initscripts-1.0 | |
parent | 1758389618b9d52af94c8a7ba40df3e63b707998 (diff) |
SlugOS 5.0: /etc/init.d/mountall.sh - assemble mdraid arrays before mounting them.
Diffstat (limited to 'packages/initscripts/initscripts-1.0')
-rw-r--r-- | packages/initscripts/initscripts-1.0/slugos/mountall.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/initscripts/initscripts-1.0/slugos/mountall.sh b/packages/initscripts/initscripts-1.0/slugos/mountall.sh index 94ea8217fd..3a155d155b 100644 --- a/packages/initscripts/initscripts-1.0/slugos/mountall.sh +++ b/packages/initscripts/initscripts-1.0/slugos/mountall.sh @@ -5,6 +5,15 @@ # . /etc/default/rcS +# If the right stuff exists, attempt to automatically assemble any +# RAID devices that might be configured. +# +if test -x /sbin/mdadm +then + test "$VERBOSE" != no && echo "Assembling RAID devices..." + mdadm --assemble --scan --auto=md +fi + # # Mount local filesystems in /etc/fstab. For some reason, people # might want to mount "proc" several times, and mount -v complains |