aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorClaudio Mignanti <c.mignanti@gmail.com>2010-12-20 17:28:34 +0000
committerClaudio Mignanti <c.mignanti@gmail.com>2010-12-20 17:28:34 +0000
commit2c0596cd69dc417b0278f04577f2dd058c9dcb02 (patch)
tree109c81854dc274a43cab0ae8ee277a96a7ba722d /target/linux/ar71xx/base-files/lib
parent0f157c1ad2ab0351ce02cda1f5ccaca0ae5f9d86 (diff)
downloadupstream-2c0596cd69dc417b0278f04577f2dd058c9dcb02.tar.gz
upstream-2c0596cd69dc417b0278f04577f2dd058c9dcb02.tar.bz2
upstream-2c0596cd69dc417b0278f04577f2dd058c9dcb02.zip
unifi: add sysupgrade and leds support
SVN-Revision: 24737
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.sh2
2 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index ad173e815a..c08860542e 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -121,6 +121,9 @@ ar71xx_board_name() {
*TL-WR941ND)
name="tl-wr941nd"
;;
+ *UniFi)
+ name="unifi"
+ ;;
*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 1f6c62d439..0b867c0052 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -68,7 +68,7 @@ platform_check_image() {
[ "$ARGC" -gt 1 ] && return 1
case "$board" in
- ap81 | ap83 | dir-600-a1 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt400n | bullet-m | nanostation-m | rocket-m | wzr-hp-g300nh | nbg460n_550n_550nh)
+ ap81 | ap83 | dir-600-a1 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt400n | bullet-m | nanostation-m | rocket-m | wzr-hp-g300nh | nbg460n_550n_550nh | unifi )
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1