summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-01-28 12:06:13 +0000
committerJohn Crispin <john@openwrt.org>2015-01-28 12:06:13 +0000
commit09a227a19169b5ce55b8521e34117a3d71372939 (patch)
tree69035547a94a6ef02a2b056cf1dbc860947df32f /target/linux/ar71xx/base-files/etc/uci-defaults
parentdc996e218d5b5cb66c0c8e5f2078b26705bf701e (diff)
downloadmtk-20170518-09a227a19169b5ce55b8521e34117a3d71372939.zip
mtk-20170518-09a227a19169b5ce55b8521e34117a3d71372939.tar.gz
mtk-20170518-09a227a19169b5ce55b8521e34117a3d71372939.tar.bz2
ar71xx: add default LED configuration for D-Link DIR-615 rev. C1
This patch adds an entry in the uci-defaults' led-file to configure the WAN and WLAN LEDs by default. Signed-off-by: Vincent Wiemann <me@bibbl.com> SVN-Revision: 44165
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index bfd9495..d1da572 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -130,6 +130,11 @@ dir-615-e4)
ucidef_set_led_switch "lan4" "LAN4" "d-link:green:lan4" "switch0" "0x10"
;;
+dir-615-c1)
+ ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth1"
+ ucidef_set_led_wlan "wlan" "WLAN" "d-link:green:wlan" "phy0tpt"
+ ;;
+
dir-825-b1)
ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
;;