Fix mdadm-fault-led.sh script
This commit is contained in:
parent
fad5f6d76b
commit
5b723c37f5
1 changed files with 2 additions and 2 deletions
|
@ -377,8 +377,8 @@ if [ $EVENT == "RebuildStarted" ]; then
|
||||||
echo 1 > $BRIGHTNESS
|
echo 1 > $BRIGHTNESS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# A spare component device which was being rebuilt to replace a faulty device has been successfully rebuilt and has been made active
|
# An md array that was rebuilding, isn't any more, either because it finished normally or was aborted.
|
||||||
if [ $EVENT == "SpareActive" ]; then
|
if [ $EVENT == "RebuildFinished" ]; then
|
||||||
echo none > $TRIGGER
|
echo none > $TRIGGER
|
||||||
echo 0 > $BRIGHTNESS
|
echo 0 > $BRIGHTNESS
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue