aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files
diff options
context:
space:
mode:
authorCezary Jackiewicz <cezary.jackiewicz@gmail.com>2016-08-23 19:26:16 +0200
committerJohn Crispin <john@phrozen.org>2016-08-24 00:21:34 +0200
commit941729336602c3ad0e6ee9d83dcc5192650df44e (patch)
tree45865dd4af320c7b59503cabee7d976884caaf54 /target/linux/ipq806x/base-files
parent2a64be5aa9240449ceac069c914e2bb0972baa2d (diff)
downloadupstream-941729336602c3ad0e6ee9d83dcc5192650df44e.tar.gz
upstream-941729336602c3ad0e6ee9d83dcc5192650df44e.tar.bz2
upstream-941729336602c3ad0e6ee9d83dcc5192650df44e.zip
ipq806x: Archer C2600: Renaming LED accordance with the standard
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Diffstat (limited to 'target/linux/ipq806x/base-files')
-rwxr-xr-xtarget/linux/ipq806x/base-files/etc/board.d/01_leds10
-rwxr-xr-xtarget/linux/ipq806x/base-files/etc/diag.sh2
2 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ipq806x/base-files/etc/board.d/01_leds b/target/linux/ipq806x/base-files/etc/board.d/01_leds
index 12d9e7b1b7..0b75b11b3f 100755
--- a/target/linux/ipq806x/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds
@@ -12,11 +12,11 @@ board=$(ipq806x_board_name)
case "$board" in
c2600)
- ucidef_set_led_usbdev "usb1" "USB 1" "usb_2:blue" "2-1"
- ucidef_set_led_usbdev "usb2" "USB 2" "usb_4:blue" "4-1"
- ucidef_set_led_netdev "wan" "WAN" "wan:blue" "eth0"
- ucidef_set_led_netdev "lan" "LAN" "lan:blue" "br-lan"
- ucidef_set_led_default "general" "general" "ledgnr:blue" "1"
+ ucidef_set_led_usbdev "usb1" "USB 1" "${board}:blue:usb_2" "2-1"
+ ucidef_set_led_usbdev "usb2" "USB 2" "${board}:blue:usb_4" "4-1"
+ ucidef_set_led_netdev "wan" "WAN" "${board}:blue:wan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "${board}:blue:lan" "br-lan"
+ ucidef_set_led_default "general" "general" "${board}:blue:ledgnr" "1"
;;
d7800 |\
r7500 |\
diff --git a/target/linux/ipq806x/base-files/etc/diag.sh b/target/linux/ipq806x/base-files/etc/diag.sh
index 6b3622dc58..0bf5934ae1 100755
--- a/target/linux/ipq806x/base-files/etc/diag.sh
+++ b/target/linux/ipq806x/base-files/etc/diag.sh
@@ -6,7 +6,7 @@
get_status_led() {
case $(ipq806x_board_name) in
c2600)
- status_led="status:blue"
+ status_led="c2600:blue:status"
;;
ea8500)
status_led="ea8500:white:power"