diff options
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 13 insertions, 1 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 9ed834eb5b..b424c759db 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -262,6 +262,14 @@ m2m) set_wifi_led "$boardname:blue:wifi" ucidef_set_led_netdev "eth" "Ethernet" "$boardname:green:wan" "eth0" ;; +mikrotik,rbm11g) + ucidef_set_rssimon "wlan0" "200000" "1" + ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:green:rssi0" "wlan0" "1" "100" + ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$boardname:green:rssi1" "wlan0" "20" "100" + ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$boardname:green:rssi2" "wlan0" "40" "100" + ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:green:rssi3" "wlan0" "60" "100" + ucidef_set_led_rssi "rssiveryhigh" "RSSIVERYHIGH" "$boardname:green:rssi4" "wlan0" "80" "100" + ;; miniembplug) set_wifi_led "$boardname:red:wlan" set_usb_led "$boardname:green:mobile" 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 7b624090c3..1303bcf8ca 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -52,6 +52,7 @@ ramips_setup_interfaces() linkits7688 | \ m2m|\ microwrt|\ + mikrotik,rbm11g|\ mpr-a2|\ ncs601w|\ omega2 | \ diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index dd7a646a04..ed6c409e0f 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -209,8 +209,9 @@ get_status_led() { m4-8M) status_led="m4:blue:status" ;; + mikrotik,rbm11g|\ mikrotik,rbm33g) - status_led="rbm33g:green:usr" + status_led="$boardname:green:usr" ;; miwifi-mini|\ zte-q7) diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 26236047b4..3511f828ce 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -297,6 +297,7 @@ platform_check_image() { nand_do_platform_check "$board" "$1" return $?; ;; + mikrotik,rbm11g|\ mikrotik,rbm33g|\ re350-v1) [ "$magic" != "01000000" ] && { @@ -323,6 +324,7 @@ platform_pre_upgrade() { local board=$(board_name) case "$board" in + mikrotik,rbm11g|\ mikrotik,rbm33g) [ -z "$(rootfs_type)" ] && mtd erase firmware ;; |