From fe1e90deb4cacbac4841507b9bf2a85eb275a823 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Wed, 29 Aug 2018 08:59:46 +0200 Subject: [PATCH] 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 --- target/linux/ramips/base-files/etc/board.d/01_leds | 8 ++++---- 1 file 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 44511bb0f6..a937cdba5e 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" -- 2.25.1