summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-11-13 20:57:18 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-11-13 20:57:18 +0000
commit9c5c0793292c074e432b58e964828d116c365afc (patch)
tree17045c63bbd0922a8ef1de913192409d7225c7f6 /target/linux/ar71xx/base-files/lib
parent75c1d3ccc27fdd94afeff3854f5d59bff39e540b (diff)
downloadmtk-20170518-9c5c0793292c074e432b58e964828d116c365afc.zip
mtk-20170518-9c5c0793292c074e432b58e964828d116c365afc.tar.gz
mtk-20170518-9c5c0793292c074e432b58e964828d116c365afc.tar.bz2
ar71xx: add user-space support for the Ubiquiti UniFi AP-Outdoor board
Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34197
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh3
2 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 0971a73..2f5d6e7 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 63e8e06..2662afd 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