diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-09-27 23:20:23 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-10-02 14:51:57 +0200 |
commit | ed5933beb632cd29869b81c04d7fa937a27d1a2f (patch) | |
tree | c8def678c7b9d08af8b2ce09391393d63dc6b01e /target/linux/ramips/mt7620/base-files/etc | |
parent | c846dd91f0a6f99b529ed6e1ec4ab149466dc0d2 (diff) | |
download | upstream-ed5933beb632cd29869b81c04d7fa937a27d1a2f.tar.gz upstream-ed5933beb632cd29869b81c04d7fa937a27d1a2f.tar.bz2 upstream-ed5933beb632cd29869b81c04d7fa937a27d1a2f.zip |
ramips: remove option to set WiFi LED via aliases
In ramips, it's not common to use an alias for specifying the WiFi
LED; actually only one device uses this mechanism (TL-WR841N v14).
Particularly since the WiFi LEDs are typically distinguished between
2.4G and 5G etc. it is also not very useful for this target.
Thus, this patch removes the setup lines for this mechanism and
converts the TL-WR841N v14 to the normal setup.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt7620/base-files/etc')
-rwxr-xr-x | target/linux/ramips/mt7620/base-files/etc/board.d/01_leds | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds index 519d643a8c..acd3bfdb0a 100755 --- a/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds @@ -11,9 +11,6 @@ board=$(board_name) board_config_update -led_wlan="$(get_dt_led wlan)" -[ -n "$led_wlan" ] && ucidef_set_led_wlan "wifi_led" "wifi" "$led_wlan" "phy0tpt" - case $board in aigale,ai-br100) ucidef_set_led_netdev "wan" "wan" "blue:wan" "eth0.2" |