aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh9
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
3 files changed, 8 insertions, 3 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
index 7becaf7ad9..022f72e240 100644
--- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
@@ -53,6 +53,7 @@ preinit_set_mac_address() {
all0239-3g |\
all0256n |\
all5002 |\
+ all5003 |\
carambola |\
dir-615-h1 |\
fonera20n |\
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
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 15c0007a04..b2fa0bd957 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -22,6 +22,7 @@ platform_check_image() {
all0239-3g | \
all0256n | \
all5002 | \
+ all5003 | \
asl26555 | \
bc2 | \
broadway | \