Fix mdadm-fault-led.sh script

This commit is contained in:
Gauthier Provost 2018-12-14 16:19:03 +08:00
parent fad5f6d76b
commit 5b723c37f5

View file

@ -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