]> git.openpandora.org Git - openembedded.git/commitdiff
SlugOS 5.0: /etc/init.d/mountall.sh - assemble mdraid arrays before mounting them.
authorMike Westerhof <mwester@dls.net>
Fri, 29 Aug 2008 16:53:31 +0000 (16:53 +0000)
committerMike Westerhof <mwester@dls.net>
Fri, 29 Aug 2008 16:53:31 +0000 (16:53 +0000)
packages/initscripts/initscripts-1.0/slugos/mountall.sh
packages/initscripts/initscripts-slugos_1.0.bb

index 94ea8217fdb236d2f1b3b2ea832caedf7952c120..3a155d155bd2ffcab053929c9f0554e37381340d 100644 (file)
@@ -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
index b742ad50717ac9e411a478fc3375218d3bf5880c..18176ed4f8f781d37a565cf80587e2579da54b29 100644 (file)
@@ -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)}"