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

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

index adb205b559d8839f1e8d2020c577c8eeea2d74dd..0c2ae83c755219e29b1622dac8df9d711bc8dba0 100755 (executable)
@@ -128,7 +128,7 @@ set_state() {
 
        case "$1" in
        preinit)
-               insmod leds-gpio
+               insmod leds-gpio 2> /dev/null
                status_led_blink_preinit
                ;;
        failsafe)