make sure errors get sent to /dev/null
authorJohn Crispin <john@openwrt.org>
Tue, 12 Mar 2013 13:52:33 +0000 (13:52 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 12 Mar 2013 13:52:33 +0000 (13:52 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 35987

target/linux/ar71xx/base-files/etc/diag.sh

index c44d61e35e9305e4cbf5f447e72cc77d5b64bff2..7fd92f5f819ac4b7e811abc7d7dbb7bc9bc0a609 100755 (executable)
@@ -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)