start/stop script woes: ./squid.sh: Cannot determine the PREFIX

stan stanb at panix.com
Mon Sep 1 11:34:53 PDT 2003


On Mon, Sep 01, 2003 at 12:31:30PM -0400, Adam McLaurin wrote:
> On Mon, 2003-09-01 at 12:18, Andreas Klemm wrote:
> > Hi fellows,
> > 
> > again I trapped over this (and this many times in the last 1-2 years),
> > when this kind of start-stop script methodology had been introduced
> > to the ports tree.
> > 
> > Its really not very comfortable having to call the start/stop scripts
> > with the complete path.
> > 
> > root at titan[ttyp2]{211} /usr/local/etc/rc.d ./squid.sh start
> > ./squid.sh: Cannot determine the PREFIX
> 
> This is a FAQ somewhere, I'm sure.
> 
> When starting squid, you need to use the FULL PATH to the startup
> script!
> 
> /usr/local/etc/rc.d/squid.sh <start/stop>

Yes, but as the orignal poster saked, is there a _good_ reason for this?



-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin


More information about the freebsd-ports mailing list