Merge pull request #1186 from helios-4/helios4_mdadm

Helios4: Fix mdadm-fault-led.sh
This commit is contained in:
Igor Pečovnik 2018-12-17 18:07:12 +01:00 committed by GitHub
commit ceb0a5137e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,8 +26,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