summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-12 13:52:33 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-12 13:52:33 +0000
commit1403b35833de30aae4e5615229f35273dbc59bba (patch)
tree7202f07a53bead620c7e00706e86fd281f5078dc /target/linux
parentd82ed54765d8e2ee38584fda570ff5b7a00ea0e3 (diff)
[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')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh6
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)