Преглед изворни кода

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 <[email protected]>
Paul Wassi пре 7 година
родитељ
комит
c2ecec07cc
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      target/linux/ath79/base-files/etc/board.d/01_leds

+ 4 - 0
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"
 	;;