summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-01-15 18:29:44 +0000
committerJohn Crispin <john@openwrt.org>2014-01-15 18:29:44 +0000
commitbeb29461ff05ce04eaafcbc24c65b2b95fc91f56 (patch)
treeb9a19dd4c2bfc9805cbd4cc8badcca9646a6a960 /target/linux/ramips/base-files/lib/upgrade/platform.sh
parent62dd252b86b10d055b55558d9944573a282dd50c (diff)
downloadmaster-31e0f0ae-beb29461ff05ce04eaafcbc24c65b2b95fc91f56.tar.gz
master-31e0f0ae-beb29461ff05ce04eaafcbc24c65b2b95fc91f56.tar.bz2
master-31e0f0ae-beb29461ff05ce04eaafcbc24c65b2b95fc91f56.zip
ramips: Add userspace support for the Edimax BR-6475nD
The rt2x00 wifi driver may still need updating to function with this device. Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org> SVN-Revision: 39298
Diffstat (limited to 'target/linux/ramips/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 0230a1829b..8bc2abd156 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -100,6 +100,13 @@ platform_check_image() {
}
return 0
;;
+ br-6475nd)
+ [ "$magic" != "43535953" ] && {
+ echo "Invalid image type."
+ return 1
+ }
+ return 0
+ ;;
esac
echo "Sysupgrade is not yet supported on $board."