From decfe9f82a1f3685e8e5dac9f8619debce992663 Mon Sep 17 00:00:00 2001 From: oes Date: Thu, 5 Sep 2002 15:38:30 +0000 Subject: [PATCH] Synced with the stable branch: Revision 1.8.2.2 2002/08/05 08:42:13 kick_ same permissions, same runlevels as all the other initscripts Revision 1.8.2.1 2002/07/12 09:14:26 kick_ don't use ghost files for rcX.d/*, chkconfig is available to do this job. Enable translation of error messge --- privoxy.init | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/privoxy.init b/privoxy.init index ff05a7ec..ccf8edbf 100644 --- a/privoxy.init +++ b/privoxy.init @@ -3,7 +3,7 @@ # This is file /etc/rc.d/init.d/privoxy and was put here # by the privoxy rpm # -# chkconfig: 235 84 09 +# chkconfig: 2345 84 09 # # description: This shell script takes care of starting and stopping \ # privoxy. @@ -11,7 +11,7 @@ # ******************************************************************** # -# File : $Source: /cvsroot/ijbswa/current/privoxy.init,v $ +# File : $Source: /cvsroot/ijbswa//current/privoxy.init,v $ # # Purpose : This shell script takes care of starting and stopping # privoxy. @@ -43,6 +43,9 @@ # # Revisions : # $Log: privoxy.init,v $ +# Revision 1.8 2002/04/09 02:51:31 hal9 +# Changed $JB to $PRIVOXY. +# # Revision 1.7 2002/04/08 14:54:51 morcego # Moved the chkconfig comments to the begining of the file, couse Linuxconf # was getting confused with it where it was. @@ -183,8 +186,8 @@ PRIVOXY_LOCK=/var/lock/subsys/$PRIVOXY_PRG PRIVOXY="$PRIVOXY_BIN --user $PRIVOXY_USER.$PRIVOXY_USER --pidfile $PRIVOXY_PID $PRIVOXY_CONF" # some checks for us -! [ -x $PRIVOXY_BIN ] && echo "Can't find $PRIVOXY_BIN, exit." && exit 0 -! [ -f $PRIVOXY_CONF ] && echo "Can't find $PRIVOXY_CONF, exit." && exit 0 +! [ -x $PRIVOXY_BIN ] && echo $"Can't find $PRIVOXY_BIN, exit." && exit 0 +! [ -f $PRIVOXY_CONF ] && echo $"Can't find $PRIVOXY_CONF, exit." && exit 0 # See how we were called. -- 2.39.2