aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-03-12 13:52:40 +0000
committerJohn Crispin <blogic@openwrt.org>2013-03-12 13:52:40 +0000
commit107efb4370e1534006725862d64fe169f778f33d (patch)
tree7ae3d3d2b2a36bc3bcd63f1dad0548ab0f0e7de5 /target/linux/ramips/base-files
parent2199cedcc0f7784bccf48f3be20c9834328caec8 (diff)
downloadupstream-107efb4370e1534006725862d64fe169f778f33d.tar.gz
upstream-107efb4370e1534006725862d64fe169f778f33d.tar.bz2
upstream-107efb4370e1534006725862d64fe169f778f33d.zip
[ramips] 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@35988 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index adb205b559..0c2ae83c75 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -128,7 +128,7 @@ set_state() {
case "$1" in
preinit)
- insmod leds-gpio
+ insmod leds-gpio 2> /dev/null
status_led_blink_preinit
;;
failsafe)