]> git.pld-linux.org Git - packages/X11.git/commitdiff
- fixed start target, XFree86-3_3_5-19 XFree86-3_3_5-20 XFree86-3_3_5-21 XFree86-3_3_6-1 XFree86_3_3_5
authorkloczek <kloczek@pld-linux.org>
Wed, 22 Dec 1999 00:26:57 +0000 (00:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- touch touch /var/lock/subsys/xdm only after starting xdm.

Changed files:
    xdm.init -> 1.3

xdm.init

index 90c176a83f3bb81588301b86c71c83f8ef1cc4aa..2325169dc789c5dfb0c5b8b0ced5d2ed775ef14b 100644 (file)
--- a/xdm.init
+++ b/xdm.init
@@ -22,14 +22,15 @@ fi
 
 # See how we were called.
 case "$1" in
+  start)
        # Check if the service is already running?
-       if [ ! -f /var/lock/subsys/xdm ]; then
+       if [ -f /var/lock/subsys/xdm ]; then
+               echo "Starting X Display Manager already is running"
+       else
                show Starting X Display Manager daemon
                daemon /usr/X11R6/bin/xdm
-       else
-               echo "Starting X Display Manager already is running"
+               touch /var/lock/subsys/xdm
        fi
-       touch /var/lock/subsys/xdm
        ;;
   stop)
        show Stopping X Display Manager daemon
This page took 0.026739 seconds and 4 git commands to generate.