slitaz-tools diff tinyutils/tazx @ rev 386
tazx: add 'text' menu entry
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 18 13:09:01 2009 +0200 (2009-09-18) |
parents | cf5de149f626 |
children | c127ff8c4f11 |
line diff
1.1 --- a/tinyutils/tazx Sat Jun 27 11:26:25 2009 +0200 1.2 +++ b/tinyutils/tazx Fri Sep 18 13:09:01 2009 +0200 1.3 @@ -147,7 +147,8 @@ 1.4 Window Manager : \Z2$WM\Zn" 16 70 5 \ 1.5 $(Xvesa -listmodes 2>&1 | grep ^0x | awk '{ printf "%s %s\n",$2,$3 }' | sort -nr | grep x[1-2][4-6]) \ 1.6 "xterm" "800x600x16" \ 1.7 - "xorg" "Installer Xorg" \ 1.8 + "xorg" "Install Xorg" \ 1.9 + "text" "Disable X autostart" \ 1.10 "quit" "Quitter" \ 1.11 2>&1 1>&3` 1.12 retval=$? 1.13 @@ -174,6 +175,9 @@ 1.14 xterm) 1.15 Xvesa -ac -shadow -screen 800x600x16 -br & 1.16 exec xterm -cr orange -geometry 80x35+0-0 ;; 1.17 + text) 1.18 + sed -i s/'slim'/''/ /etc/rcS.conf 1.19 + exit 0 ;; 1.20 *) 1.21 NEW_SCREEN=$value ;; 1.22 esac