From: John Crispin Date: Tue, 12 Mar 2013 13:52:33 +0000 (+0000) Subject: make sure errors get sent to /dev/null X-Git-Tag: reboot~10971 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fad5f5700eb7de90d4461b471f67eda54d6cf1c3;p=openwrt%2Fopenwrt.git make sure errors get sent to /dev/null Signed-off-by: John Crispin SVN-Revision: 35987 --- 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)