----- Original Message ----
From: Jerry McAllister <[EMAIL PROTECTED]>
To: Drew Jenkins <[EMAIL PROTECTED]>
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, March 6, 2007 7:46:26 PM
Subject: Re: Setting Env

>If you want the environment variable to
>be set for something that is taking place in the script, then
>that variable must either be set in a durable way in the parent
>environment or be set right there in the script that is using it.
>The rc.conf method will make it available from the parent.
>That is the whole point of rc.conf.

Right. I figured that much. So, what do I actually put in that file? I tried 
these two options:

setenv LD_LIBRARY_PATH /usr/local/lib/mysql/

export LD_LIBRARY_PATH="/usr/local/lib/mysql/"


It didn't like either, presumably because it's not calling a bash or c-shell. 
So, what should I put in /etc/rc.conf that will achieve my objective?
TIA,
Drew






 
____________________________________________________________________________________
Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to