slitaz-boot-scripts diff etc/init.d/hwconf.sh @ rev 247
Fixed pankso rev 238 patch. We needed udevadm trigger after tazhw init is used. Thats why virtualbox mouse didn't work.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Mar 28 08:53:40 2011 +0000 (2011-03-28) |
parents | 50b48a25519f |
children | a14abff6be90 |
line diff
1.1 --- a/etc/init.d/hwconf.sh Mon Jul 05 12:56:24 2010 +0200 1.2 +++ b/etc/init.d/hwconf.sh Mon Mar 28 08:53:40 2011 +0000 1.3 @@ -16,6 +16,7 @@ 1.4 xarg=*) 1.5 XARG="$XARG ${opt#xarg=}" ;; 1.6 screen=text) 1.7 + SCREEN=text 1.8 # Disable X. 1.9 echo -n "Disabling X login manager: slim..." 1.10 . /etc/rcS.conf 1.11 @@ -72,7 +73,7 @@ 1.12 fi 1.13 1.14 # Xorg auto configuration. 1.15 -if [ ! -s /etc/X11/xorg.conf -a -x /usr/bin/Xorg ]; then 1.16 +if [ "$SCREEN" != "text" -a ! -s /etc/X11/xorg.conf -a -x /usr/bin/Xorg ]; then 1.17 echo "Configuring Xorg..." 1.18 # $HOME is not yet set. 1.19 HOME=/root 1.20 @@ -86,7 +87,7 @@ 1.21 # NOTE: Xvesa is unmaintained, package will be removed and all related 1.22 # code cleaned 1.23 # 1.24 -if [ ! -s /etc/X11/screen.conf -a -x /usr/bin/Xvesa ]; then 1.25 +if [ "$SCREEN" != "text" -a ! -s /etc/X11/screen.conf -a -x /usr/bin/Xvesa ]; then 1.26 # $HOME is not yet set. 1.27 HOME=/root 1.28 if [ -n "$XARG" ]; then