]> git.pld-linux.org Git - packages/gdm.git/blobdiff - gdm.init
- warning removed, gdm2.20 created
[packages/gdm.git] / gdm.init
index 270601a8bd71743b2982350baa75bdc8270b161c..3a620f50feec8ccc8c20eabfea20a7635e677a5b 100644 (file)
--- a/gdm.init
+++ b/gdm.init
@@ -4,7 +4,7 @@
 #
 # 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..
 #
@@ -26,7 +26,8 @@ case "$1" in
        # 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
@@ -43,7 +44,7 @@ case "$1" in
        fi
        ;;
   status)
-       status gdm
+       status gdm gdm-binary
        exit $?
        ;;
   restart|force-reload)
This page took 0.030177 seconds and 4 git commands to generate.