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 | |
parent | 1758389618b9d52af94c8a7ba40df3e63b707998 (diff) |
SlugOS 5.0: /etc/init.d/mountall.sh - assemble mdraid arrays before mounting them.
-rw-r--r-- | packages/initscripts/initscripts-1.0/slugos/mountall.sh | 9 | ||||
-rw-r--r-- | packages/initscripts/initscripts-slugos_1.0.bb | 2 |
2 files changed, 10 insertions, 1 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 diff --git a/packages/initscripts/initscripts-slugos_1.0.bb b/packages/initscripts/initscripts-slugos_1.0.bb index b742ad5071..18176ed4f8 100644 --- a/packages/initscripts/initscripts-slugos_1.0.bb +++ b/packages/initscripts/initscripts-slugos_1.0.bb @@ -16,7 +16,7 @@ RDEPENDS = "" # All other standard definitions inherited from initscripts # Except the PR which is hacked here. The format used is # a suffix -PR := "${PR}.14" +PR := "${PR}.15" FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/${P}', '${FILE_DIRNAME}/initscripts-${PV}', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" |