ar71xx: add user-space support for the Ubiquiti UniFi AP-Outdoor board
authorGabor Juhos <juhosg@openwrt.org>
Tue, 13 Nov 2012 20:57:18 +0000 (20:57 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 13 Nov 2012 20:57:18 +0000 (20:57 +0000)
Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34197

target/linux/ar71xx/base-files/etc/uci-defaults/network
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index 105f0e93f968bea0e268b4186fb9d04f25fb0974..810f0849bfb6926dd1bfc6ccedcfafdcf4da5f9b 100755 (executable)
@@ -17,7 +17,8 @@ board=$(ar71xx_board_name)
 case "$board" in
 all0315n |\
 all0258n |\
-ja76pf2)
+ja76pf2|\
+ubnt-unifi-outdoor)
        ucidef_set_interface_lan "eth0 eth1"
        ;;
 
index 0971a73804e73c200bf72364c825f0f24d6dc98e..2f5d6e7ec7bea0fb0e2b865887d28cada05ae588 100755 (executable)
@@ -390,6 +390,9 @@ ar71xx_board_detect() {
        *WLAE-AG300N)
                name="wlae-ag300n"
                ;;
+       *"UniFiAP Outdoor")
+               name="unifi-outdoor"
+               ;;
        *WP543)
                name="wp543"
                ;;
index 63e8e066b54349a61f7b36136b1bb188cced3552..2662afd39f5fe3cabeed2b24ce7f6d89e3c9729d 100755 (executable)
@@ -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