slitaz-boot-scripts diff etc/init.d/rcS @ rev 389
typo in /etc/init.d/bootopts.sh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 11 11:12:24 2015 +0100 (2015-01-11) |
parents | fba11a13a321 |
children | 6c2d6362887d |
line diff
1.1 --- a/etc/init.d/rcS Wed Aug 20 17:24:44 2014 +0200 1.2 +++ b/etc/init.d/rcS Sun Jan 11 11:12:24 2015 +0100 1.3 @@ -182,7 +182,8 @@ 1.4 # Start X session. Dbus must be started before Xorg and other daemons. 1.5 # We started it here because X is run before RUN_DAEMONS. Sleep, in 1.6 # some in live mode we boot too fast and X can't initialize. 1.7 -if [ "$SCREEN" != "text" ] && [ "$LOGIN_MANAGER" ] && \ 1.8 +if [ "$SCREEN" != "text" ] && [ "$LOGIN_MANAGER" ] && 1.9 + [ -x /usr/bin/tazx ] && [ -s /etc/slitaz/applications.conf ] && 1.10 [ -x "/etc/init.d/$LOGIN_MANAGER" ]; then 1.11 colorize 36 "Starting X environment..." 1.12 # We need Xorg 40-Keyboard.conf and SliTaz applications.conf 1.13 @@ -198,6 +199,7 @@ 1.14 if [ "$RUN_DAEMONS" ]; then 1.15 colorize 33 "Starting all daemons..." 1.16 for daemon in $RUN_DAEMONS; do 1.17 + [ -x /etc/init.d/$daemon ] && 1.18 /etc/init.d/$daemon start 1.19 done 1.20 fi