aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-08-01 11:19:39 +0000
committerJohn Crispin <john@openwrt.org>2014-08-01 11:19:39 +0000
commitc6674722b990f07517296cd53667dd0123f56e40 (patch)
tree3ee835ca868495515493e18186692a77c13047b0 /target/linux/ramips/base-files/etc
parente7ec79821a616f5f64641e84d73a6594679e7976 (diff)
downloadupstream-c6674722b990f07517296cd53667dd0123f56e40.tar.gz
upstream-c6674722b990f07517296cd53667dd0123f56e40.tar.bz2
upstream-c6674722b990f07517296cd53667dd0123f56e40.zip
ramips: Fix LEDs on the Kingston MLW221
LED Fix up for the Kingston Mobilelite Wireless (MLW-221) http://wiki.openwrt.org/toh/kingston/mlw221 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 41933
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh2
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds1
2 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 088760652a..c9b7ded2ec 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -74,7 +74,7 @@ get_status_led() {
status_led="m4:blue:status"
;;
mlw221)
- status_led="kingston:green:status"
+ status_led="kingston:blue: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 359281efa9..e92a12e7ab 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -115,6 +115,7 @@ case $board in
;;
mlw221)
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"