]> git.pld-linux.org Git - packages/at.git/commitdiff
fixed
authorwojtek <wojtek@pld.org.pl>
Tue, 1 Jun 1999 06:09:44 +0000 (06:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    atd.init -> 1.3

atd.init

index 0f64b9704744c0b4dc0126abba4efe94c46b47b6..5bd1f5ae016dc6b3d7e17c89ca0837d57fad129e 100644 (file)
--- a/atd.init
+++ b/atd.init
 # Source function library.
 . /etc/rc.d/init.d/functions
 
-test -x /usr/sbin/atd || exit 0
-#
+# Try get sysconfig ...
+if [ -f /etc/sysconfig/at ]; then
+    . /etc/sysconfig/at
+fi    
+
 #      See how we were called.
 #
 case "$1" in
   start)
-       # Check if atd is already running
-       if [ ! -f /var/lock/subsys/atd ]; then
-           show Starting at daemon
-           daemon atd
-           touch /var/lock/subsys/atd
-       fi
+       show Starting at daemon
+        daemon atd
+        touch /var/lock/subsys/atd
        ;;
   stop)
        show Stopping at daemon
This page took 0.038014 seconds and 4 git commands to generate.