diff options
author | Mathias Kresin <dev@kresin.me> | 2018-08-29 08:59:46 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-08-29 09:23:11 +0200 |
commit | fe1e90deb4cacbac4841507b9bf2a85eb275a823 (patch) | |
tree | 8670759689886069fc9704f9d4c7d0523016e53c | |
parent | 774d7fc9f2897d7b33ef15ddaa3522531eb85970 (diff) | |
download | mtk-20170518-fe1e90deb4cacbac4841507b9bf2a85eb275a823.zip mtk-20170518-fe1e90deb4cacbac4841507b9bf2a85eb275a823.tar.gz mtk-20170518-fe1e90deb4cacbac4841507b9bf2a85eb275a823.tar.bz2 |
ramips: rt-n12p: use the boardname helper variable
Use the helper variable for the Asus RT-N12P as it is done by all
boards.
Signed-off-by: Mathias Kresin <dev@kresin.me>
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 44511bb..a937cdb 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -393,10 +393,10 @@ rt-ac51u) set_usb_led "$boardname:blue:usb" "1-1" ;; rt-n12p) - ucidef_set_led_default "power" "power" "$board:green:power" "1" - ucidef_set_led_netdev "lan" "lan" "$board:green:lan" eth0.1 - ucidef_set_led_netdev "wan" "wan" "$board:green:wan" eth0.2 - set_wifi_led "$board:green:air" + ucidef_set_led_default "power" "power" "$boardname:green:power" "1" + ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" eth0.1 + ucidef_set_led_netdev "wan" "wan" "$boardname:green:wan" eth0.2 + set_wifi_led "$boardname:green:air" ;; rt-n14u) ucidef_set_led_default "power" "power" "$boardname:blue:power" "1" |