aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/base-files/etc')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/01_leds5
-rw-r--r--target/linux/ath79/base-files/etc/diag.sh25
2 files changed, 0 insertions, 30 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 4a8b82786e..d1906f9231 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -10,7 +10,6 @@ boardname="${board##*,}"
case "$board" in
"avm,fritz300e")
ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0"
- ucidef_set_led_wlan "wlan" "WLAN" "$boardname:green:wlan" "phy0tpt"
ucidef_set_rssimon "wlan0" "200000" "1"
ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:green:rssi0" "wlan0" "1" "100"
ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$boardname:green:rssi1" "wlan0" "20" "100"
@@ -20,13 +19,9 @@ case "$board" in
;;
"etactica,eg200")
ucidef_set_led_netdev "lan" "LAN" "$boardname:red:eth0" "eth0"
- ucidef_set_led_wlan "wlan" "WLAN" "$boardname:red:wlan" "phy0tpt"
ucidef_set_led_oneshot "modbus" "Modbus" "$boardname:red:modbus" "100" "33"
ucidef_set_led_default "etactica" "etactica" "$boardname:red:etactica" "ignore"
;;
-"glinet,ar150")
- ucidef_set_led_wlan "wlan" "WLAN" "gl-ar150:orange:wlan" "phy0tpt"
- ;;
"tplink,tl-mr3020-v1")
ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x02"
;;
diff --git a/target/linux/ath79/base-files/etc/diag.sh b/target/linux/ath79/base-files/etc/diag.sh
index 0a5011a7ae..5a21006528 100644
--- a/target/linux/ath79/base-files/etc/diag.sh
+++ b/target/linux/ath79/base-files/etc/diag.sh
@@ -4,32 +4,7 @@
status_led="$(get_dt_led status)"
-get_status_led() {
- local board=$(board_name)
- local boardname="${board##*,}"
-
- case $board in
- "avm,fritz300e")
- status_led="${boardname}:green:power"
- ;;
- "embeddedwireless,dorin")
- status_led="dorin:green:status"
- ;;
- "glinet,ar150")
- status_led="gl-ar150:orange:wlan"
- ;;
- "tplink,tl-wr1043nd-v1")
- status_led="tp-link:green:system"
- ;;
- "ubnt,unifi")
- status_led="ubnt:green:dome"
- ;;
- esac
-}
-
set_state() {
- [ -z "$status_led" ] && get_status_led
-
case "$1" in
preinit)
status_led_blink_preinit