rc.d script (and PATH)

Lewis Thompson lewiz at fajita.org
Sun Dec 5 18:18:28 PST 2004


Hi,

I'm trying to create a rcNG-style startup script for multimedia/freevo
but I receive:  ``can't find python version with installed freevo'' when
the script is executed at startup/shutdown.  I suspect this is because
PATH in /etc/rc does not specify any /usr/local entries.

  I am wondering what is the correct way to go about handling this --
should I just add PATH=$PATH:$PREFIX in the startup script (where
$PREFIX is expanded to the install-time PREFIX at install) or is there
some other way?

  Thanks very much,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.
------------------------------------------------------------------------
-| msn:lewiz at fajita.org | jabber:lewiz at jabber.org | url:www.lewiz.org |-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20041206/4df67a2e/attachment.bin


More information about the freebsd-ports mailing list