#
# Version: @(#) /etc/rc.d/init.d/gdm 0.1
#
-# chkconfig: 5 95 5
+# chkconfig: 5 95 05
# description: Starts and stops the Gnome Display Manager at startup and \
# shutdown..
#
# Check if the service is already running?
if [ ! -f /var/lock/subsys/gdm ]; then
msg_starting "Gnome Display Manager"
- daemon open /usr/sbin/gdm
+ start-stop-daemon --start -b --exec /usr/sbin/gdm
+ ok
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/gdm
else
fi
;;
status)
- status gdm
+ status gdm gdm-binary
exit $?
;;
restart|force-reload)