aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index c44d61e35e..7fd92f5f81 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -186,9 +186,9 @@ set_state() {
case "$1" in
preinit)
- insmod leds-gpio
- insmod ledtrig-default-on
- insmod ledtrig-timer
+ insmod leds-gpio 2> /dev/null
+ insmod ledtrig-default-on 2> /dev/null
+ insmod ledtrig-timer 2> /dev/null
status_led_blink_preinit
;;
failsafe)