aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-13 00:36:01 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-31 15:03:43 +0200
commit65305cb44869774a7db10c517b871dce5ab46ccb (patch)
tree32d6daf0310d38c7be9b97d5caf5370f35d228c6 /target/linux/kirkwood/base-files/etc/board.d/01_leds
parent217877d046414878126e5c8013162e3b7edc774c (diff)
downloadupstream-65305cb44869774a7db10c517b871dce5ab46ccb.tar.gz
upstream-65305cb44869774a7db10c517b871dce5ab46ccb.tar.bz2
upstream-65305cb44869774a7db10c517b871dce5ab46ccb.zip
kirkwood: use real model names for Linksys devices
This replaces the internal device names "Audi" and "Viper" with the real model names, which a user would look for. This makes the Linksys devices on this target consistent with the names recently changed for mvebu based on the same idea. As a consequence, the "viper" device definition is split into two separate definitions with the correct names for both real models. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/board.d/01_leds5
1 files changed, 3 insertions, 2 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 bbe689bbb5..3f7fe71c0a 100755
--- a/target/linux/kirkwood/base-files/etc/board.d/01_leds
+++ b/target/linux/kirkwood/base-files/etc/board.d/01_leds
@@ -10,10 +10,11 @@ board_config_update
board=$(board_name)
case "$board" in
-"iom,ix2-200")
+iom,ix2-200)
ucidef_set_led_timer "health" "health" "status:white:rebuild_led" "200" "800"
;;
-"linksys,viper")
+linksys,e4200-v2|\
+linksys,ea4500)
ucidef_set_led_default "pulse" "pulse" "viper:white:pulse" "1"
;;
esac