summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mdadm/run
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verison.net>2010-03-23 21:25:18 (GMT)
committerMichael Hanson <hansonorders@verison.net>2010-03-23 21:25:18 (GMT)
commit5e01031c49106e47e2cc03453dcd66c801bb188f (patch)
tree8b36e3d977d30486d376af4d5d2ef26b58f03eb2 /abs/core-testing/mdadm/run
parent199ea329decf9acddd004b17aea3bc901121032a (diff)
downloadlinhes_pkgbuild-5e01031c49106e47e2cc03453dcd66c801bb188f.zip
linhes_pkgbuild-5e01031c49106e47e2cc03453dcd66c801bb188f.tar.gz
linhes_pkgbuild-5e01031c49106e47e2cc03453dcd66c801bb188f.tar.bz2
mdadm: update to latest, add run file/runit support.
Diffstat (limited to 'abs/core-testing/mdadm/run')
-rwxr-xr-xabs/core-testing/mdadm/run10
1 files changed, 10 insertions, 0 deletions
diff --git a/abs/core-testing/mdadm/run b/abs/core-testing/mdadm/run
new file mode 100755
index 0000000..567332e
--- /dev/null
+++ b/abs/core-testing/mdadm/run
@@ -0,0 +1,10 @@
+#!/bin/bash
+#
+# Start Monitoring software raid arrays
+exec 2>&1
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+ stat_runit "Starting mdadm RAID Monitor"
+ exec /sbin/mdadm -F -s