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_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh13
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
4 files changed, 13 insertions, 6 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 55976edec8..3e26493e54 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -56,6 +56,10 @@ air3gii)
set_wifi_led "$boardname:green:wlan"
set_usb_led "$boardname:green:mobile"
;;
+alfa-network,ac1200rm)
+ set_wifi_led "$boardname:green:wlan2g" "wlan1"
+ ucidef_set_led_default "wps" "wps" "$boardname:green:wps" "0"
+ ;;
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 48fdfdf3f1..105f5e9e32 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -71,6 +71,7 @@ ramips_setup_interfaces()
;;
3g-6200n|\
ai-br100|\
+ alfa-network,ac1200rm|\
d240|\
db-wrt01|\
dir-300-b7|\
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 5ffa6368eb..e1d29152f1 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -69,6 +69,13 @@ get_status_led() {
ht-tm02)
status_led="$boardname:blue:wlan"
;;
+ alfa-network,ac1200rm|\
+ awapn2403|\
+ dir-645|\
+ sk-wb8|\
+ wrh-300cr)
+ status_led="$boardname:green:wps"
+ ;;
all0239-3g|\
dcs-930|\
dir-300-b1|\
@@ -102,12 +109,6 @@ get_status_led() {
ip2202)
status_led="$boardname:green:run"
;;
- awapn2403|\
- dir-645|\
- sk-wb8|\
- wrh-300cr)
- status_led="$boardname:green:wps"
- ;;
c108)
status_led="$boardname:green:lan"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 8160f5d388..cd21001324 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -16,6 +16,7 @@ platform_check_image() {
a5-v11|\
ai-br100|\
air3gii|\
+ alfa-network,ac1200rm|\
all0239-3g|\
all0256n-4M|\
all0256n-8M|\