From fad5f5700eb7de90d4461b471f67eda54d6cf1c3 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 12 Mar 2013 13:52:33 +0000 Subject: [PATCH] make sure errors get sent to /dev/null Signed-off-by: John Crispin SVN-Revision: 35987 --- target/linux/ar71xx/base-files/etc/diag.sh | 6 +++--- 1 file 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) -- 2.30.2