slitaz-boot-scripts rev 331

system.sh: base can't launch X11
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 16 19:53:53 2013 +0100 (2013-02-16)
parents 7627d005986c
children 1f4bcf5a8878
files etc/init.d/system.sh
line diff
     1.1 --- a/etc/init.d/system.sh	Thu Jan 17 19:14:14 2013 +0100
     1.2 +++ b/etc/init.d/system.sh	Sat Feb 16 19:53:53 2013 +0100
     1.3 @@ -128,7 +128,7 @@
     1.4  fi
     1.5  
     1.6  # Start X sesssion as soon as possible
     1.7 -if [ "$SCREEN" != "text" ] && [ "$LOGIN_MANAGER" ]; then
     1.8 +if [ "$SCREEN" != "text" ] && [ "$LOGIN_MANAGER" ] && [ -x /etc/init.d/$LOGIN_MANAGER ]; then
     1.9  	echo -n "Starting X environment..."
    1.10  	/etc/init.d/dbus start >/dev/null
    1.11  	if [ $(/bin/hostname) == '(none)' ];then