diff options
author | John Crispin <blogic@openwrt.org> | 2013-03-12 13:52:33 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-03-12 13:52:33 +0000 |
commit | 2199cedcc0f7784bccf48f3be20c9834328caec8 (patch) | |
tree | 7202f07a53bead620c7e00706e86fd281f5078dc /target/linux/ar71xx/base-files/etc | |
parent | a9b77daa6a1d33a100e93dba65a9ca736f84f7df (diff) | |
download | master-187ad058-2199cedcc0f7784bccf48f3be20c9834328caec8.tar.gz master-187ad058-2199cedcc0f7784bccf48f3be20c9834328caec8.tar.bz2 master-187ad058-2199cedcc0f7784bccf48f3be20c9834328caec8.zip |
[ar71xx] make sure errors get sent to /dev/null
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35987 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 6 |
1 files 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) |