aboutsummaryrefslogtreecommitdiffstats
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/board.d/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network41
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
4 files changed, 28 insertions, 20 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 515656f647..0a870d9f6c 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -60,6 +60,9 @@ alfa-network,ac1200rm)
set_wifi_led "$boardname:green:wlan2g" "wlan1"
ucidef_set_led_default "wps" "wps" "$boardname:green:wps" "0"
;;
+alfa-network,awusfree1)
+ set_wifi_led "$boardname:blue:wlan"
+ ;;
all0256n-4M|\
all0256n-8M)
ucidef_set_rssimon "wlan0" "200000" "1"
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index fe19a226f8..d23f9e36e3 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -126,6 +126,27 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
;;
+ alfa-network,awusfree1|\
+ cs-qr10|\
+ d105|\
+ dlink,dap-1522-a1|\
+ dch-m225|\
+ ex2700|\
+ ex3700|\
+ hpm|\
+ mzk-ex300np|\
+ mzk-ex750np|\
+ na930|\
+ pbr-d1|\
+ tama,w06|\
+ u25awf-h1|\
+ wli-tx4-ag300n|\
+ wmdr-143n|\
+ wmr-300|\
+ wn3000rpv3|\
+ wrh-300cr)
+ ucidef_set_interface_lan "eth0"
+ ;;
mir3g)
ucidef_add_switch "switch0" \
"2:lan:2" "3:lan:1" "1:wan" "6t@eth0"
@@ -237,26 +258,6 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "9@eth0"
;;
- cs-qr10|\
- d105|\
- dlink,dap-1522-a1|\
- dch-m225|\
- ex2700|\
- ex3700|\
- hpm|\
- mzk-ex300np|\
- mzk-ex750np|\
- na930|\
- pbr-d1|\
- tama,w06|\
- u25awf-h1|\
- wli-tx4-ag300n|\
- wmdr-143n|\
- wmr-300|\
- wn3000rpv3|\
- wrh-300cr)
- ucidef_set_interface_lan "eth0"
- ;;
duzun-dm06)
ucidef_add_switch "switch0" \
"1:lan" "0:wan" "6@eth0"
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index c5f62ab66d..6038804b12 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -78,6 +78,9 @@ get_status_led() {
wrh-300cr)
status_led="$boardname:green:wps"
;;
+ alfa-network,awusfree1)
+ status_led="$boardname:orange:system"
+ ;;
all0239-3g|\
dcs-930|\
dir-300-b1|\
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index a0610b257f..76d735291d 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -17,6 +17,7 @@ platform_check_image() {
ai-br100|\
air3gii|\
alfa-network,ac1200rm|\
+ alfa-network,awusfree1|\
all0239-3g|\
all0256n-4M|\
all0256n-8M|\