summaryrefslogtreecommitdiffstats
path: root/abs/core/mdadm/run
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-24 02:53:27 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-24 02:53:27 (GMT)
commiteb64f8a36a7ce7572bac1fb5a6ec17e08bb9a5e5 (patch)
tree14fbe26d73dabe2b333e187af28463687a824382 /abs/core/mdadm/run
parent66d9054984063e6c34f034b135bf8153e0e8b431 (diff)
downloadlinhes_pkgbuild-eb64f8a36a7ce7572bac1fb5a6ec17e08bb9a5e5.zip
linhes_pkgbuild-eb64f8a36a7ce7572bac1fb5a6ec17e08bb9a5e5.tar.gz
linhes_pkgbuild-eb64f8a36a7ce7572bac1fb5a6ec17e08bb9a5e5.tar.bz2
mdadm: upgrade
Diffstat (limited to 'abs/core/mdadm/run')
-rw-r--r--abs/core/mdadm/run10
1 files changed, 10 insertions, 0 deletions
diff --git a/abs/core/mdadm/run b/abs/core/mdadm/run
new file mode 100644
index 0000000..567332e
--- /dev/null
+++ b/abs/core/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