Fixed error in LED blink function

pull/36/head
Darren Kitchen 2019-10-21 12:55:17 -07:00 committed by GitHub
parent 36f22a0607
commit 85ea267c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

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