aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-02-21 21:09:25 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-02-22 14:25:52 +0100
commitaa9c2149a77652e803939e1fc77dac5d35488cac (patch)
tree2eeb69f2945a2af2c549af24b4c4faf5e94bd67d /target
parent6bbca3a09a2add5b0a2cc1743805d24ea6072578 (diff)
downloadupstream-aa9c2149a77652e803939e1fc77dac5d35488cac.tar.gz
upstream-aa9c2149a77652e803939e1fc77dac5d35488cac.tar.bz2
upstream-aa9c2149a77652e803939e1fc77dac5d35488cac.zip
kirkwood: do not expose status LED to user config by default
So far, the state of status LEDs is set up in 01_leds for many devices in kirkwood target. As those LEDs are also controlled by diag.sh, exposing them to the user via uci config by default seems not helpful and might even have confusing results for the user. Thus, remove the ucidef_set_led_default setup for power/status LED, but do not touch the rest where user control is actually a feature. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/board.d/01_leds23
1 files changed, 0 insertions, 23 deletions
diff --git a/target/linux/kirkwood/base-files/etc/board.d/01_leds b/target/linux/kirkwood/base-files/etc/board.d/01_leds
index 504be16480..bba845eae5 100755
--- a/target/linux/kirkwood/base-files/etc/board.d/01_leds
+++ b/target/linux/kirkwood/base-files/etc/board.d/01_leds
@@ -10,41 +10,18 @@ board_config_update
board=$(board_name)
case "$board" in
-"cloudengines,pogoe02")
- ucidef_set_led_default "health" "health" "pogo_e02:green:health" "1"
- ucidef_set_led_default "fault" "fault" "pogo_e02:orange:fault" "1"
- ;;
"iom,ix2-200")
ucidef_set_led_timer "health" "health" "status:white:rebuild_led" "200" "800"
;;
-"linksys,audi")
- ucidef_set_led_default "power" "power" "audi:green:power" "1"
- ;;
"linksys,viper")
- ucidef_set_led_default "health" "health" "viper:white:health" "1"
ucidef_set_led_default "pulse" "pulse" "viper:white:pulse" "1"
;;
-"raidsonic,ib-nas62x0")
- ucidef_set_led_default "health" "health" "ib62x0:green:os" "1"
- ucidef_set_led_default "fault" "fault" "ib62x0:red:os" "1"
- ;;
-"seagate,dockstar")
- ucidef_set_led_default "health" "health" "status:green:health" "1"
- ucidef_set_led_default "fault" "fault" "status:orange:fault" "1"
- ;;
-"seagate,goflexhome"|\
-"seagate,goflexnet")
- ucidef_set_led_default "health" "health" "status:green:health" "1"
- ucidef_set_led_default "fault" "fault" "status:orange:fault" "0"
- ;;
"zyxel,nsa310b")
- ucidef_set_led_default "health" "health" "nsa310:green:sys" "1"
ucidef_set_led_usbhost "usb" "USB" "nsa310:green:usb"
ucidef_set_led_ataport "hdd" "HDD" "nsa310:green:hdd" "1"
ucidef_set_led_ataport "esata" "eSata" "nsa310:green:esata" "2"
;;
"zyxel,nsa325")
- ucidef_set_led_default "health" "health" "nsa325:green:sys" "1"
ucidef_set_led_usbhost "usb" "USB" "nsa325:green:usb"
ucidef_set_led_ataport "hdd1" "HDD1" "nsa325:green:hdd1" "1"
ucidef_set_led_ataport "hdd2" "HDD2" "nsa325:green:hdd2" "2"