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
|
||||
fi
|
||||
|
||||
# A spare component device which was being rebuilt to replace a faulty device has been successfully rebuilt and has been made active
|
||||
if [ $EVENT == "SpareActive" ]; then
|
||||
# An md array that was rebuilding, isn't any more, either because it finished normally or was aborted.
|
||||
if [ $EVENT == "RebuildFinished" ]; then
|
||||
echo none > $TRIGGER
|
||||
echo 0 > $BRIGHTNESS
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue