X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=privoxy.init;h=aa0577bc53c69e2eccb7dbe09aa6ff21cf385d2c;hp=ff05a7ece84377ca6dfc6ae3b6d802c447e38a0e;hb=668c12d3ddbe9632bb90b3dbf1bf9d60114ad6bb;hpb=7ea9371bf4cdffe366b9754f05f43b249149f208 diff --git a/privoxy.init b/privoxy.init index ff05a7ec..aa0577bc 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. @@ -14,9 +14,9 @@ # File : $Source: /cvsroot/ijbswa/current/privoxy.init,v $ # # Purpose : This shell script takes care of starting and stopping -# privoxy. +# privoxy on Red Hat and RH compatible systems. # -# Copyright : Written by and Copyright (C) 2001 the SourceForge +# Copyright : Written by and Copyright (C) 2001,2002 the SourceForge # Privoxy team. http://www.privoxy.org/ # # Based on the Internet Junkbuster originally written @@ -43,6 +43,17 @@ # # Revisions : # $Log: privoxy.init,v $ +# Revision 1.9 2002/09/05 15:38:30 oes +# 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 +# +# 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 +194,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.