slitaz-tools rev 584

tazx: remove text mode option since now we can only use boot option
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 29 21:27:38 2011 +0200 (2011-04-29)
parents cd1c6f4ddeb3
children 00690814f252
files tinyutils/tazx
line diff
     1.1 --- a/tinyutils/tazx	Fri Apr 29 21:21:10 2011 +0200
     1.2 +++ b/tinyutils/tazx	Fri Apr 29 21:27:38 2011 +0200
     1.3 @@ -124,8 +124,6 @@
     1.4  			tazpkg get-install xorg-server
     1.5  			tazpkg get-install xorg-xf86-video-$value
     1.6  			xorg_conf_d
     1.7 -			sed -i 's|/usr/bin/Xvesa|/usr/bin/Xorg|' /etc/slim.conf
     1.8 -			sed -i s/"^xserver_arguments"/'\#xserver_arguments'/ /etc/slim.conf
     1.9  			XSERVER=Xorg ;;
    1.10  	esac
    1.11  }
    1.12 @@ -138,11 +136,10 @@
    1.13  		--clear --colors \
    1.14  		--title " Configure X " \
    1.15  		--menu \
    1.16 -	"The 'tazx' application helps you to configure your X session.\n\
    1.17 +	"The 'tazx' application helps you to configure your Xorg.\n\
    1.18  	Window Manager : \Z2$WM\Zn \n\
    1.19  	X server : \Z2Xorg\Zn" 16 70 5 \
    1.20  	"xorg" "Install or reconfigure Xorg" \
    1.21 -	"text" "Disable X autostart" \
    1.22  	"quit" "Quit Tazx utility" \
    1.23  	2>&1 1>&3`
    1.24  	retval=$?
    1.25 @@ -166,9 +163,6 @@
    1.26  	case $value in
    1.27  		xorg)
    1.28  			install_xorg ;;
    1.29 -		text)
    1.30 -			sed -i s/'slim'/''/ /etc/rcS.conf
    1.31 -			exit 0 ;;
    1.32  		*)
    1.33  			continue ;;
    1.34  	esac