mirror of https://github.com/aredn/aredn.git
bugfix: ar71xx: airrouter: Use "Globe" LED to indicate mesh connection
This commit is contained in:
parent
6d619b6757
commit
5fa47d6f93
|
@ -18,7 +18,17 @@
|
||||||
|
|
||||||
LICENSE
|
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
|
while true; do
|
||||||
|
|
Loading…
Reference in New Issue