aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/ramips.sh
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-24 11:48:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-24 11:48:47 +0000
commit944c8aacdb346d464c269ff561e70cccf2e25710 (patch)
treebae038f0eebb42bca00166ac208410815cd06026 /target/linux/ramips/base-files/lib/ramips.sh
parent1932a7205c4497e6120534fd94087669dba1a398 (diff)
downloadupstream-944c8aacdb346d464c269ff561e70cccf2e25710.tar.gz
upstream-944c8aacdb346d464c269ff561e70cccf2e25710.tar.bz2
upstream-944c8aacdb346d464c269ff561e70cccf2e25710.zip
ramips: add user-space support for ALL0256N
This adds uci-defaults and sysupgrade support for the ALL0256N. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 29883
Diffstat (limited to 'target/linux/ramips/base-files/lib/ramips.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index dca2d1d91b..ca9b3c9cfc 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -47,6 +47,9 @@ ramips_board_name() {
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
+ *"Allnet ALL0256N")
+ name="all0256n"
+ ;;
*"Argus ATP-52B")
name="argus-atp52b"
;;