diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2018-02-15 14:49:24 +0100 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2018-02-22 18:53:22 +0100 |
commit | 12c7b22e4edcb76fffc2c9c1318a041bf43c0d36 (patch) | |
tree | 7f760f985b7eda622cf8ccd2dc67cafdc669d27a /target/linux | |
parent | 338a9fe8ad95ef703f9f3ebefe4fe2e776171e6b (diff) | |
download | upstream-12c7b22e4edcb76fffc2c9c1318a041bf43c0d36.tar.gz upstream-12c7b22e4edcb76fffc2c9c1318a041bf43c0d36.tar.bz2 upstream-12c7b22e4edcb76fffc2c9c1318a041bf43c0d36.zip |
ar71xx: base-files: cosmetic cleanups in 04_led_migration
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration | 34 |
1 files changed, 8 insertions, 26 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration index 05d806051a..b0b0e9a4c5 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration @@ -49,45 +49,27 @@ dir-825-c1|\ dir-835-a1) migrate_leds ":orange:=:amber:" ":wifi_bgn=:wlan2g" ;; - dr344) migrate_leds ":red:=:green:" ":yellow:=:green:" ;; - gl-ar150) migrate_leds "gl-ar150:wlan=gl-ar150:orange:wlan" "gl-ar150:lan=gl-ar150:green:lan" "gl-ar150:wan=gl-ar150:green:wan" ;; - -wndap360) - migrate_leds "wndap360:=netgear:" - ;; - -wndr3700) - migrate_leds "wndr3700:=netgear:" +wndap360|\ +wndr3700|\ +wnr2000|\ +wnr2200) + migrate_leds "${board}:=netgear:" ;; - -wndr3700v4 | \ +wndr3700v4|\ wndr4300) migrate_leds ":orange:=:amber:" ;; - -wnr2000) - migrate_leds "wnr2000:=netgear:" - ;; - -wnr2200) - migrate_leds "wnr2200:=netgear:" - ;; - -wnr612-v2) - migrate_leds "wnr612v2:=netgear:" - ;; - wnr1000-v2) migrate_leds "wnr1000v2:=netgear:" ;; - -*) +wnr612-v2) + migrate_leds "wnr612v2:=netgear:" ;; esac |