summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/ramips.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/lib/ramips.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index c1355bcadc..99bdbdd80e 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -48,9 +48,12 @@ ramips_board_detect() {
*"Allnet ALL0256N")
name="all0256n"
;;
- *"Allnet ALL5002/ALL5003")
+ *"Allnet ALL5002")
name="all5002"
;;
+ *"Allnet ALL5003")
+ name="all5003"
+ ;;
*"ARC FreeStation5")
name="freestation5"
;;
@@ -212,7 +215,7 @@ ramips_board_detect() {
;;
*"UR-326N4G Wireless N router")
name="ur-326n4g"
- ;;
+ ;;
*"UR-336UN Wireless N router")
name="ur-336un"
;;
@@ -228,7 +231,7 @@ ramips_board_detect() {
esac
case "$machine" in
- *"Allnet ALL5002/ALL5003")
+ *"Allnet ALL500"[23]*)
all500x_board_detect
;;
esac