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/board.d/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
5 files changed, 14 insertions, 0 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 c42b31f..dfd0ca7 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -130,6 +130,10 @@ case $board in
set_wifi_led "kingston:blue:wifi"
ucidef_set_led_default "system" "system" "kingston:blue:system" "1"
;;
+ mlwg2)
+ set_wifi_led "kingston:blue:wifi"
+ ucidef_set_led_default "system" "system" "kingston:blue:system" "1"
+ ;;
mofi3500-3gn)
set_usb_led "mofi3500-3gn:green:usb"
;;
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 a86466e..aad1197 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -61,6 +61,9 @@ ramips_setup_interfaces()
mlw221)
ucidef_set_interface_lan "eth0.2"
;;
+ mlwg2)
+ ucidef_set_interface_lan "eth0.1"
+ ;;
wizard8800 | \
wl-330n | \
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 103dfcd..65ef0db 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -88,6 +88,9 @@ get_status_led() {
mlw221)
status_led="kingston:blue:status"
;;
+ mlwg2)
+ status_led="kingston:blue:system"
+ ;;
mofi3500-3gn)
status_led="mofi3500-3gn:green:status"
;;
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 540da33..379713b 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -187,6 +187,9 @@ ramips_board_detect() {
*"Kingston MLW221")
name="mlw221"
;;
+ *"Kingston MLWG2")
+ name="mlwg2"
+ ;;
*"Linksys E1700")
name="e1700"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 95cad63..b5eecfc 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -58,6 +58,7 @@ platform_check_image() {
m3 | \
m4 | \
mlw221 | \
+ mlwg2 | \
mofi3500-3gn | \
mpr-a1 | \
mpr-a2 | \