Date: Tue, 6 Mar 2007 16:28:39 -0800 (PST) From: Drew Jenkins <drewjenkinsjr@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: Setting Env Message-ID: <812894.39097.qm@web62205.mail.re1.yahoo.com>
next in thread | raw e-mail | index | archive | help
----- Original Message ----=0AFrom: Jerry McAllister <jerrymc@msu.edu>=0ATo= : Drew Jenkins <drewjenkinsjr@yahoo.com>=0ACc: freebsd-questions@freebsd.or= g=0ASent: Tuesday, March 6, 2007 7:46:26 PM=0ASubject: Re: Setting Env=0A= =0A>If you want the environment variable to=0A>be set for something that is= taking place in the script, then=0A>that variable must either be set in a = durable way in the parent=0A>environment or be set right there in the scrip= t that is using it.=0A>The rc.conf method will make it available from the p= arent.=0A>That is the whole point of rc.conf.=0A=0ARight. I figured that mu= ch. So, what do I actually put in that file? I tried these two options:=0A= =0Asetenv LD_LIBRARY_PATH /usr/local/lib/mysql/=0A=0Aexport LD_LIBRARY_PATH= =3D"/usr/local/lib/mysql/"=0A=0A=0AIt didn't like either, presumably becaus= e it's not calling a bash or c-shell. So, what should I put in /etc/rc.conf= that will achieve my objective?=0ATIA,=0ADrew=0A=0A=0A=0A=0A=0A=0A =0A____= ___________________________________________________________________________= _____=0AGet your own web address. =0AHave a HUGE year through Yahoo! Small= Business.=0Ahttp://smallbusiness.yahoo.com/domains/?p=3DBESTDEAL
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?812894.39097.qm>