aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2018-11-02 20:52:01 +0100
committerAlexander Couzens <lynxis@fe80.eu>2018-11-02 21:43:15 +0100
commit0411813c6f0520dea23a1c4f58f5956c504bf129 (patch)
treebfce057ea6344cba8dd0d1d4bffcfe33c297460c /target/linux/ramips/base-files
parentc9f5934c71e73df707d97f8b2ff86e164bfbda12 (diff)
downloadupstream-0411813c6f0520dea23a1c4f58f5956c504bf129.tar.gz
upstream-0411813c6f0520dea23a1c4f58f5956c504bf129.tar.bz2
upstream-0411813c6f0520dea23a1c4f58f5956c504bf129.zip
ramips: fix leds on GL.iNet GL-MT300N-V2
The WAN LED now shows the link state. It's color is green, not blue. Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 5f5e5630fd..2644bc0159 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -150,6 +150,7 @@ gl-mt750)
;;
gl-mt300n-v2)
set_wifi_led "$boardname:red:wlan"
+ ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x1"
;;
hc5661|\
hc5661a)