summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-01-17 07:06:51 +0000
committerJohn Crispin <john@openwrt.org>2015-01-17 07:06:51 +0000
commit27b82a79900c49d6c65dfe16285f641aff97099d (patch)
treefada746768f4c48617584b1c65b2b1d657bdb3cc /target/linux/ramips/base-files
parentb5f9e5e454bf0938eb4de6d2c0337cfe23f5ac70 (diff)
downloadmtk-20170518-27b82a79900c49d6c65dfe16285f641aff97099d.zip
mtk-20170518-27b82a79900c49d6c65dfe16285f641aff97099d.tar.gz
mtk-20170518-27b82a79900c49d6c65dfe16285f641aff97099d.tar.bz2
ramips: fix default led configuration for rt-n14u
use new helper function to generate default led configuration Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com> SVN-Revision: 43984
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
1 files 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"
;;