Setting Env

Drew Jenkins drewjenkinsjr at yahoo.com
Tue Mar 6 19:21:20 UTC 2007


20Hi;
For some reason, I need to run this:

setenv LD_LIBRARY_PATH /usr/local/lib/mysql/

to get my Zope instances up and running. I'm trying to figure out how to automate that. I wrote a little script:

#!/bin/csh
setenv LD_LIBRARY_PATH /usr/local/lib/mysql/

and put it here:

/usr/local/etc/rc.d/mysql_setenv
chmod +x /usr/local/etc/rc.d/mysql_setenv

I can run that little script with no errors. However, it *doesn't* set the environment!

# echo $shell
# csh

What gives?
TIA,
Drew




 
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/


More information about the freebsd-questions mailing list