aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-28 07:04:40 +0200
committerMathias Kresin <dev@kresin.me>2018-10-07 11:34:18 +0200
commitc074239c79ae8704c96e4e1ba94dde3015a882c9 (patch)
tree1bb0089f717e35caf27dcaaa23f69a289932a049 /target/linux/ramips/base-files
parent8f4dfadd5a4370e455f08967bfe9b7c9125576e8 (diff)
downloadupstream-c074239c79ae8704c96e4e1ba94dde3015a882c9.tar.gz
upstream-c074239c79ae8704c96e4e1ba94dde3015a882c9.tar.bz2
upstream-c074239c79ae8704c96e4e1ba94dde3015a882c9.zip
ramips: move status led unset to devicetree
Release the led used for boot status indication via devicetree instead of setting a default off trigger in userspace. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds11
1 files changed, 0 insertions, 11 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 e45508ee2b..0767d90894 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -33,7 +33,6 @@ air3gii)
;;
alfa-network,ac1200rm)
set_wifi_led "$boardname:green:wlan2g" "wlan1"
- ucidef_set_led_default "wps" "wps" "$boardname:green:wps" "0"
;;
alfa-network,awusfree1)
set_wifi_led "$boardname:blue:wlan"
@@ -78,9 +77,6 @@ cf-wr800n)
ucidef_set_led_netdev "lan" "lan" "$boardname:white:ethernet" eth0.1
set_wifi_led "$boardname:white:wifi"
;;
-cy-swr1100)
- ucidef_set_led_default "wps" "WPS" "$boardname:blue:wps" "0"
- ;;
d240)
set_wifi_led "$boardname:blue:wifi"
;;
@@ -117,12 +113,10 @@ dlink,dwr-118-a2)
ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x0e"
ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
set_wifi_led "$boardname:green:wlan2g" "wlan1"
- ucidef_set_led_default "internet" "internet" "$boardname:green:internet" "0"
;;
dlink,dwr-921-c1)
set_wifi_led "$boardname:green:wifi"
ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x0f"
- ucidef_set_led_default "sigstrength" "Signal Strength" "$boardname:green:sigstrength" "0"
;;
dir-860l-b1)
ucidef_set_led_netdev "wan" "wan" "$boardname:green:net" "eth0.2"
@@ -139,7 +133,6 @@ ex3700)
ucidef_set_led_netdev "wlan2g" "DEVICE (green)" "$boardname:green:device" "wlan1"
;;
f5d8235-v1)
- ucidef_set_led_default "lan" "lan" "$boardname:blue:wired" "0"
set_wifi_led "$boardname:blue:wireless"
;;
fonera20n)
@@ -407,16 +400,12 @@ y1s)
;;
youhua,wr1200js)
ucidef_set_led_switch "internet" "INTERNET" "$boardname:green:wan" "switch0" "0x01"
- ucidef_set_led_default "wps" "wps" "$boardname:blue:wps" "0"
;;
zbt-ape522ii)
ucidef_set_led_netdev "wlan2g4" "wlan1-link" "$boardname:green:wlan2g4" "wlan1"
ucidef_set_led_netdev "sys1" "wlan1" "$boardname:green:sys1" "wlan1" "tx rx"
ucidef_set_led_netdev "sys2" "wlan0" "$boardname:green:sys2" "wlan0" "tx rx"
;;
-zbt-cpe102)
- ucidef_set_led_default "power" "power" "$boardname:green:4g-0" "0"
- ;;
zbt-wa05)
set_wifi_led "$boardname:blue:air"
;;