]> granicus.if.org Git - fcron/commitdiff
updated copyright
authorthib <thib>
Wed, 11 Jan 2006 00:54:44 +0000 (00:54 +0000)
committerthib <thib>
Wed, 11 Jan 2006 00:54:44 +0000 (00:54 +0000)
fixed a small bug (define FUNCTION)

script/sysVinit-launcher

index 68dfbd7c9f904b490112ff28b6aecb2bd2ba8eb2..363a1292597cafc97de948976dbd1733accd7312 100755 (executable)
@@ -6,7 +6,7 @@
 # processname: fcron
 # pidfile: /var/run/fcron.pid
 # config: /var/spool/fcron/*
-# $Id: sysVinit-launcher,v 1.9 2003-12-25 22:52:10 thib Exp $
+# $Id: sysVinit-launcher,v 1.10 2006-01-11 00:54:44 thib Exp $
 
 export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
 
@@ -14,8 +14,9 @@ FUNCTION=0
 SBIN=@@DESTSBIN@
 
 # Source function library.
-if test -f /etc/rc.d/init.d/functions; then
+if test -f /etc/init.d/functions; then
     . /etc/rc.d/init.d/functions
+    FUNCTION=1
     STARTCMD="daemon $SBIN/fcron -b"
     STOPCMD="killproc fcron"
     FINALECHO="echo"