aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network4
3 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 908547e50e..088760652a 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -73,6 +73,9 @@ get_status_led() {
m4)
status_led="m4:blue:status"
;;
+ mlw221)
+ status_led="kingston:green:status"
+ ;;
mofi3500-3gn)
status_led="mofi3500-3gn:green:status"
;;
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index 19ec4f5904..359281efa9 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -113,6 +113,9 @@ case $board in
hw550-3g)
set_usb_led "hw550-3g:green:usb"
;;
+ mlw221)
+ set_wifi_led "kingston:blue:wifi"
+ ;;
mofi3500-3gn)
set_usb_led "mofi3500-3gn:green:usb"
;;
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index f65388f613..40c60fee5c 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -51,6 +51,10 @@ ramips_setup_interfaces()
;;
3g-6200nl | \
+ mlw221)
+ ucidef_set_interface_lan "eth0.2"
+ ;;
+
wl-330n | \
wmr300)
ucidef_set_interface_lan "eth0.1"