Fixed error in LED blink function
parent
36f22a0607
commit
85ea267c89
|
@ -125,15 +125,15 @@ if [ $(grep -v '\$:' /etc/turtle/Responder/logs/*NTLM* 2>/dev/null) ];
|
|||
finished
|
||||
fi
|
||||
fi
|
||||
echo 255 > /sys/class/leds/lan-turtle\:orange\:system/brightness
|
||||
/usr/bin/sleep 0.04
|
||||
echo 0 > /sys/class/leds/lan-turtle\:orange\:system/brightness
|
||||
/usr/bin/sleep 0.04
|
||||
echo 255 > /sys/class/leds/lan-turtle\:orange\:system/brightness 2>&1
|
||||
sleep 0.04
|
||||
echo 0 > /sys/class/leds/lan-turtle\:orange\:system/brightness 2>&1
|
||||
sleep 0.04
|
||||
done
|
||||
}
|
||||
|
||||
function finished {
|
||||
echo 255 > /sys/class/leds/turtle\:yellow\:system/brightness
|
||||
echo 255 > /sys/class/leds/turtle\:yellow\:system/brightness 2>&1
|
||||
exit
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue