aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/base-files/etc/diag.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm53xx/base-files/etc/diag.sh')
-rw-r--r--target/linux/bcm53xx/base-files/etc/diag.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/bcm53xx/base-files/etc/diag.sh b/target/linux/bcm53xx/base-files/etc/diag.sh
index a8a560cd06..1a9332327a 100644
--- a/target/linux/bcm53xx/base-files/etc/diag.sh
+++ b/target/linux/bcm53xx/base-files/etc/diag.sh
@@ -13,7 +13,7 @@ get_status_led() {
fi;
# Now just pick any power LED
- status_led_file=$(find /sys/class/leds/ -name "*:power:*" | head -n1)
+ status_led_file=$(find /sys/class/leds/ -name "*:power" | head -n1)
if [ -d "$status_led_file" ]; then
status_led=$(basename $status_led_file)
return