summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-20 17:30:17 +0000
committerJohn Crispin <john@openwrt.org>2014-07-20 17:30:17 +0000
commitd19530c69337ad0b378d8d74ae7fa6185c95aeb6 (patch)
treeb225aa31d0c0c21eb6613118ee64150fa498bf5d /target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
parente23f27b72d3dc4966ff1a218c4426d96b96366ff (diff)
downloadmaster-31e0f0ae-d19530c69337ad0b378d8d74ae7fa6185c95aeb6.tar.gz
master-31e0f0ae-d19530c69337ad0b378d8d74ae7fa6185c95aeb6.tar.bz2
master-31e0f0ae-d19530c69337ad0b378d8d74ae7fa6185c95aeb6.zip
ar71xx: Add UBNT airGateway support
This patch adds support for the Ubiquiti Networks airGateway. Based in part on code posted by David Hutchison <dhutchison@bluemesh.net> on openwrt-devel: https://lists.openwrt.org/pipermail/openwrt-devel/2013-December/023035.html Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> SVN-Revision: 41766
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/01_leds')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds3
1 files changed, 3 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 b1477ae070..f7757de0f3 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -9,6 +9,9 @@
board=$(ar71xx_board_name)
case "$board" in
+airgateway)
+ ucidef_set_led_wlan "wlan" "WLAN" "ubnt:blue:wlan" "phy0tpt"
+ ;;
alfa-nx)
ucidef_set_led_netdev "wan" "WAN" "alfa:green:led_2" "eth0"
ucidef_set_led_netdev "lan" "LAN" "alfa:green:led_3" "eth1"