summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh1
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/leds1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network5
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
7 files changed, 11 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 6c86513755..4720130252 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -51,6 +51,7 @@ get_status_led() {
fonera20n)
status_led="fonera20n:green:power"
;;
+ all0239-3g|\
hw550-3g)
status_led="hw550-3g:green:status"
;;
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 2a405195c8..5dadd71018 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -53,6 +53,7 @@ case "$FIRMWARE" in
;;
3g-6200n | \
+ all0239-3g | \
all0256n | \
all5002 | \
argus-atp52b | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds
index 32fae2507c..c09751dadd 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/leds
@@ -49,6 +49,7 @@ case $board in
set_usb_led "fonera20n:orange:usb"
set_wifi_led "fonera20n:orange:wifi"
;;
+ all0239-3g|\
hw550-3g)
set_usb_led "hw550-3g:green:usb"
;;
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index e7e93345a0..106a61352c 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -152,9 +152,10 @@ ramips_setup_macs()
wan_mac=$(ramips_get_mac_binary factory 32772)
;;
+ all0239-3g | \
w502u)
- lan_mac=$(ramips_get_mac_binary factory 40)
- wan_mac=$(ramips_get_mac_binary factory 46)
+ lan_mac=$(ramips_get_mac_binary factory 40)
+ wan_mac=$(ramips_get_mac_binary factory 46)
;;
wl341v3)
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 7709b3b474..8c2b039547 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
@@ -34,6 +34,7 @@ preinit_set_mac_address() {
mac=$(ramips_get_mac_binary devdata 46)
ifconfig eth0 hw ether $mac 2>/dev/null
;;
+ all0239-3g |\
all0256n |\
all5002 |\
dir-615-h1 |\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index fb2a573bf3..b07f4e9466 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -50,6 +50,9 @@ ramips_board_name() {
*"Edimax 3g-6200n")
name="3g-6200n"
;;
+ *"Allnet ALL0239-3G")
+ name="all0239-3g"
+ ;;
*"Allnet ALL0256N")
name="all0256n"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 1b5d546439..d7380f0297 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -15,6 +15,7 @@ platform_check_image() {
case "$board" in
3g-6200n | \
+ all0239-3g | \
all0256n | \
all5002 | \
bc2 | \