  | |  | Not in /ect/rc.d/rc.local where then? | Not in /ect/rc.d/rc.local where then? 2003-07-14 - By Jesse Keating
Back On Monday 14 July 2003 13:59, Alexis Vasquez wrote: > sorry Jesse, I mean any parameters. > > in this case > INFORMIXDIR=/informix/bin > INFORMIXSERVER=myserver > export 'SEVERAL THINGS' > and at last a command > > $INFORMIXDIR/lib/sqlexec myserver -s sqlexec > > beside other stuff like a 'mount'
I think you're going about this the wrong way. Global variables like that should go in /etc/profile.d/, in it's own .sh file. Mounts should be taken care of in /etc/fstab, and starting informix should be handled by an init script to take advantage of/conform to the SysV init structure of system services.
-- Jesse Keating RHCE MCSE http://geek.j2solutions.net Mondo DevTeam (http://www.microwerks.net/~hugo/)
Was I helpful? Let others know: http://svcs.affero.net/rm.php?r=jkeating
Earn $52 per hosting referral at Lunarpages.
|
|
 |