slitaz-boot-scripts diff etc/init.d/system.sh @ rev 334
bootopts.sh: fix uid/gid for vfat/ntfs case
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 30 18:24:28 2013 +0100 (2013-10-30) |
parents | b1986b2be1f0 |
children | 612a6f9874c0 |
line diff
1.1 --- a/etc/init.d/system.sh Sat Jan 05 00:07:04 2013 +0100 1.2 +++ b/etc/init.d/system.sh Wed Oct 30 18:24:28 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