ramips: fix default led configuration for rt-n14u
authorJohn Crispin <john@openwrt.org>
Sat, 17 Jan 2015 07:06:51 +0000 (07:06 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 17 Jan 2015 07:06:51 +0000 (07:06 +0000)
use new helper function to generate default led configuration

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>
SVN-Revision: 43984

target/linux/ramips/base-files/etc/board.d/01_leds

index 405a6c0d709a36f5fc397a0d703e41b0cdc298b8..c42b31feb8c10046c6009aa68ab9eca419b8cdad 100755 (executable)
@@ -191,8 +191,8 @@ case $board in
                ;;
        rt-n14u)
                ucidef_set_led_default "power" "power" "asus:blue:power" "1"
-               ucidef_set_led_interafce "lan" "asus:blue:lan"
-               ucidef_set_led_netdev "wan" "asus:blue:wan"
+               ucidef_set_led_netdev "lan" "lan" "asus:blue:lan" eth0.1
+               ucidef_set_led_netdev "wan" "wan" "asus:blue:wan" eth0.2
                set_wifi_led "asus:blue:air"
                set_usb_led "asus:blue:usb"
                ;;