aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2018-11-02 20:52:01 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-12-07 21:41:56 +0100
commit1cd945ea2289f5b6047351da09d8cc2338bb002d (patch)
tree5acd2a5a5593488f54f667529e051edc0c45f418 /target/linux/ramips/base-files/etc/board.d/01_leds
parentfbadfecbb5471ce9f8b814f5facdea5d48e246dc (diff)
downloadupstream-1cd945ea2289f5b6047351da09d8cc2338bb002d.tar.gz
upstream-1cd945ea2289f5b6047351da09d8cc2338bb002d.tar.bz2
upstream-1cd945ea2289f5b6047351da09d8cc2338bb002d.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> (cherry picked from commit 0411813c6f0520dea23a1c4f58f5956c504bf129)
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/01_leds')
-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 54504c6ee8..6057275978 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -210,6 +210,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)