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