From 8312738806df669ad61bf9225474623acbebe444 Mon Sep 17 00:00:00 2001 From: Xuefu Lin Date: Fri, 21 Oct 2016 17:06:39 +0800 Subject: ramips: fix PSG1218 LEDs Signed-off-by: Xuefu Lin --- target/linux/ramips/base-files/etc/board.d/01_leds | 3 ++- target/linux/ramips/base-files/etc/diag.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'target/linux/ramips/base-files') 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 4b66694ed9..d1c83d748a 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -264,7 +264,8 @@ psg1208) set_wifi_led "$board:white:wlan2g" ;; psg1218) - ucidef_set_led_default "power" "power" "$board:red:status" "1" + ucidef_set_led_netdev "Network" "Network" "$board:blue:status" "eth0" + ucidef_set_led_default "status" "STATUS" "$board:yellow:status" "0" ;; px-4885) set_wifi_led "$board:orange:wifi" diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 84459a5c01..b6d845f940 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -99,7 +99,7 @@ get_status_led() { status_led="$board:white:wps" ;; psg1218) - status_led="$board:blue:status" + status_led="$board:yellow:status" ;; cy-swr1100|\ w502u) -- cgit v1.2.3