]> arthur.barton.de Git - netatalk.git/commitdiff
added TIMELORD_RUN, set by default to "no"
authorrufustfirefly <rufustfirefly>
Thu, 29 Mar 2001 16:45:52 +0000 (16:45 +0000)
committerrufustfirefly <rufustfirefly>
Thu, 29 Mar 2001 16:45:52 +0000 (16:45 +0000)
config/netatalk.conf
distrib/initscripts/rc.atalk.redhat.tmpl

index 0f8f7c458e8384073b363066933835f3409aa9df..d775d52280299226bd86636719126be77fc46ab1 100644 (file)
@@ -20,6 +20,7 @@ AFPD_GUEST=nobody
 ATALKD_RUN=yes
 PAPD_RUN=yes
 AFPD_RUN=yes
+TIMELORD_RUN=no
 
 # Control whether the daemons are started in the background
 ATALK_BGROUND=no
index 809c9dc3997e776cad00d48d47ce90ce1b62186c..bbe4922d9bd8ff43cbead0a54877d838c88559b0 100644 (file)
@@ -58,12 +58,12 @@ atalk_startup() {
        fi
 
        # check for timelord in bin directory
-       if [ -x ${ATALK_BIN}/timelord ]; then
+       if [ x"${TIMELORD_RUN}" = x"yes"  -a -x ${ATALK_BIN}/timelord ]; then
            daemon ${ATALK_BIN}/timelord
        fi
 
        # check for timelord in sbin directory
-       if [ -x ${ATALK_SBIN}/timelord ]; then
+       if [ x"${TIMELORD_RUN}" = x"yes"  -a -x ${ATALK_SBIN}/timelord ]; then
            daemon ${ATALK_SBIN}/timelord
        fi
 
@@ -101,12 +101,12 @@ case "$1" in
            fi
 
             # checking for timelord in bin directory
-           if [ -x ${ATALK_BIN}/timelord ]; then
+           if [ x"${TIMELORD_RUN}" = x"yes" -a -x ${ATALK_BIN}/timelord ]; then
                killproc timelord
            fi
 
             # checking for timelord in sbin directory
-           if [ -x ${ATALK_SBIN}/timelord ]; then
+           if [ x"${TIMELORD_RUN}" = x"yes" -a -x ${ATALK_SBIN}/timelord ]; then
                killproc timelord
            fi