slitaz-tools rev 595 4.2

Dev null when killing Xorg at boot
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 22:19:25 2011 +0200 (2011-05-16)
parents b094a088e5d2
children 82f6e8a9ba90
files tazbox/tazbox
line diff
     1.1 --- a/tazbox/tazbox	Sat Apr 30 19:06:19 2011 +0000
     1.2 +++ b/tazbox/tazbox	Mon May 16 22:19:25 2011 +0200
     1.3 @@ -207,7 +207,7 @@
     1.4  		# A tiny GTK window for Busybox wget output
     1.5  		url=$2
     1.6  		[ -d $DOWNLOADS ] || mkdir -p $DOWNLOADS
     1.7 -		busybox wget -c -P $DOWNLOADS $url 2>&1 | output_command
     1.8 +		busybox wget -c -P $DOWNLOADS $url 2>1 | output_command
     1.9  		cancel_dl ;;
    1.10  	locale)
    1.11  		locale ;;
    1.12 @@ -219,7 +219,7 @@
    1.13  		DISPLAY=:1 openbox &
    1.14  		locale
    1.15  		keymap
    1.16 -		killall Xorg ;;
    1.17 +		killall Xorg 2>/dev/null ;;
    1.18  	*)
    1.19  		usage ;;
    1.20  esac