aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-25 16:15:55 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-25 16:15:55 +0000
commit52b8c92764e3f4f75065bf9b98d62374d832f9e1 (patch)
tree8ac64b52b132c4450c454eca00f68a53c51c7cbd /target/linux
parente0fc6ef2d8f3ec15e0912d2644f6bbe25a546d25 (diff)
downloadopenwrt-52b8c92764e3f4f75065bf9b98d62374d832f9e1.tar.gz
openwrt-52b8c92764e3f4f75065bf9b98d62374d832f9e1.zip
AA: ar71xx: add user-space support for the Ubiquiti UniFi AP-Outdoor board
Backport of r34197. Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34342 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh3
3 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 105f0e93f..810f0849b 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -17,7 +17,8 @@ board=$(ar71xx_board_name)
case "$board" in
all0315n |\
all0258n |\
-ja76pf2)
+ja76pf2|\
+ubnt-unifi-outdoor)
ucidef_set_interface_lan "eth0 eth1"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 0971a7380..2f5d6e7ec 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -390,6 +390,9 @@ ar71xx_board_detect() {
*WLAE-AG300N)
name="wlae-ag300n"
;;
+ *"UniFiAP Outdoor")
+ name="unifi-outdoor"
+ ;;
*WP543)
name="wp543"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 63e8e066b..2662afd39 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -126,7 +126,8 @@ platform_check_image() {
whr-hp-gn | \
wlae-ag300n | \
nbg460n_550n_550nh | \
- unifi )
+ unifi | \
+ unifi-outdoor )
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1