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>
openwrt-19.07
Mathias Kresin 2018-08-29 08:59:46 +02:00
parent 774d7fc9f2
commit fe1e90deb4
1 changed files with 4 additions and 4 deletions

View File

@ -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"