Browse Source

make sure errors get sent to /dev/null

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 35987
John Crispin 13 years ago
parent
commit
fad5f5700e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      target/linux/ar71xx/base-files/etc/diag.sh

+ 3 - 3
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)