From: John Crispin Date: Fri, 1 Aug 2014 11:19:39 +0000 (+0000) Subject: ramips: Fix LEDs on the Kingston MLW221 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c6674722b990f07517296cd53667dd0123f56e40;p=openwrt%2Fstaging%2Frobimarko.git 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 SVN-Revision: 41933 --- 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"