#
# Version: @(#) /etc/rc.d/init.d/entrance 0.1
#
-# chkconfig: 5 95 5
+# chkconfig: 5 99 1
# description: Starts and stops the Enlighted Display Manager at startup and \
# shutdown..
#
# Check if the service is already running?
if [ ! -f /var/lock/subsys/entrance ]; then
msg_starting "Enlightened Display Manager"
- /etc/X11/entrance/generate-config
- if [ -r /var/lib/entrance/entrance_config.cfg ]; then
+ /usr/share/entrance/build_config.sh > /dev/null
+ if [ -r /etc/entrance_config.cfg ]; then
daemon /usr/sbin/entranced
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/entrance