summaryrefslogtreecommitdiff
path: root/monitor_soft_raid
diff options
context:
space:
mode:
Diffstat (limited to 'monitor_soft_raid')
-rwxr-xr-xmonitor_soft_raid7
1 files changed, 0 insertions, 7 deletions
diff --git a/monitor_soft_raid b/monitor_soft_raid
deleted file mode 100755
index 1dc7da4..0000000
--- a/monitor_soft_raid
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/zsh
-
-T="[$(printf 'U%.0s' {1..$1})]"
-S=$(awk '/^md/ {printf "%s: ", $1}; /blocks/ {print $NF}' </proc/mdstat)
-STATUS=$(echo $S | cut -d" " -f2)
-if [[ $STATUS != $T ]]; then logger "[mdstat warning] $S"; fi
-