]> git.pld-linux.org Git - packages/X11.git/blobdiff - xdm.init
- moved dirs to filesystem; rel 17
[packages/X11.git] / xdm.init
index 8be594e9596304413dafb4c1b912880f45eca4f1..f5d52c6f870fbf0844d0777e0b8b5744812aefc3 100644 (file)
--- a/xdm.init
+++ b/xdm.init
@@ -4,9 +4,9 @@
 #
 # Version:     @(#) /etc/rc.d/init.d/xdm 1.3
 #
-# chkconfig:   5 95 5
-# description: Starts and stops the X Display Manager at startup and
-#              shutdown. can run one of several display managers; gdm, kdm,
+# chkconfig:   5 95 05
+# description: Starts and stops the X Display Manager at startup and \
+#              shutdown. can run one of several display managers; gdm, kdm, \
 #              or xdm, in that order of preferential treatment.
 #
 # config:      /etc/X11/xdm/xdm-config
@@ -16,7 +16,7 @@
 . /etc/rc.d/init.d/functions
 
 # Get service config
-if [ -f /etc/sysconfig/xdm ] ; then
+if [ -f /etc/sysconfig/xdm ]; then
        . /etc/sysconfig/xdm
 fi
 
@@ -27,7 +27,7 @@ case "$1" in
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/xdm ]; then
                msg_starting "X Display Manager"
-               daemon /usr/X11R6/bin/xdm
+               daemon xdm
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/xdm
        else
This page took 0.034684 seconds and 4 git commands to generate.