aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Wassi <p.wassi@gmx.at>2018-12-31 13:13:14 +0100
committerMathias Kresin <dev@kresin.me>2018-12-31 14:05:26 +0100
commitc2ecec07ccd6f00a1319576b016f07fee208b359 (patch)
treee08169b0a30d822b3544f16173a9f3099aa574c4
parent8ba76d6e744f2f2fb5afb9fd8ac2b828d7c8387c (diff)
downloadupstream-c2ecec07ccd6f00a1319576b016f07fee208b359.tar.gz
upstream-c2ecec07ccd6f00a1319576b016f07fee208b359.tar.bz2
upstream-c2ecec07ccd6f00a1319576b016f07fee208b359.zip
ath79: Add GL.iNet AR150 LED triggers
When switching from ar71xx to ath79 the default netdev LED triggers for LAN and WAN got lost. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/01_leds4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds
index a9f81cd230..ec1b6bb550 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -36,6 +36,10 @@ etactica,eg200)
ucidef_set_led_oneshot "modbus" "Modbus" "$boardname:red:modbus" "100" "33"
ucidef_set_led_default "etactica" "etactica" "$boardname:red:etactica" "ignore"
;;
+glinet,gl-ar150)
+ ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth1"
+ ;;
glinet,gl-x750)
ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"
;;