bugfix: ar71xx: airrouter: Use "Globe" LED to indicate mesh connection

This commit is contained in:
Conrad Lara - KG6JEI 2016-01-17 20:09:11 -08:00
parent 6d619b6757
commit 5fa47d6f93
1 changed files with 11 additions and 1 deletions

View File

@ -18,7 +18,17 @@
LICENSE
LINK1LED=`readlink -f /sys/class/leds/*link1`
BOARD_TYPE=$(/usr/local/bin/get_hardwaretype)
case "$BOARD_TYPE" in
airrouter)
LINK1LED=$(readlink -f /sys/class/leds/ubnt\:green\:globe)
;;
*)
LINK1LED=$(readlink -f /sys/class/leds/*link1)
;;
esac
{
while true; do