From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 00:28:40 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF49A16A403 for ; Wed, 7 Mar 2007 00:28:40 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62205.mail.re1.yahoo.com (web62205.mail.re1.yahoo.com [69.147.75.4]) by mx1.freebsd.org (Postfix) with SMTP id 7541913C441 for ; Wed, 7 Mar 2007 00:28:40 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 39435 invoked by uid 60001); 7 Mar 2007 00:28:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=wEaGj0UkHmSYANFSywxtt09wIOHC4Zk9YoZ0A6CQLJ7J3ZOjBpXR5A/DBKk51pswYwo7mlXNJNE9zwVHt3Ob98Lz0nifPGzOHdmOHK/M9QkP1eJtq5mDJA71i9/x5tueCudMnvWh9Ag7vkq48Eq3gl4uAoSxCTWtbnKBIRUgEa4=; X-YMail-OSG: qjXzK.MVM1ls.XtLy.XMvYFTaxEazSTNlkIy756MhY2Ca4jDZ0mYjD_vmH2Mbkxx.zIfCagwdQz9vLfHmpXBYfwMfLv9gealSz9kQZbJIDjz_N00s7aLFYhE.68LgmZp.7Za Received: from [67.46.93.3] by web62205.mail.re1.yahoo.com via HTTP; Tue, 06 Mar 2007 16:28:39 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Tue, 6 Mar 2007 16:28:39 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <812894.39097.qm@web62205.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 00:28:40 -0000 ----- Original Message ----=0AFrom: Jerry McAllister =0ATo= : Drew Jenkins =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