[OpenWrt-Devel] [PATCH] ramips: fix default led configuration for rt-n14u
Pavel Löbl
lobl.pavel at gmail.com
Thu Jan 15 13:47:00 EST 2015
use new helper function to generate default led configuration
Signed-off-by: Pavel Löbl <lobl.pavel at gmail.com>
---
target/linux/ramips/base-files/etc/board.d/01_leds | 4 ++--
1 file changed, 2 insertions(+), 2 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 405a6c0..c42b31f 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -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"
;;
--
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list