Re: Not in /ect/rc.d/rc.local where then?

Jesse Keating <[email protected]>
Newsgroups gmane.linux.redhat.release.psyche
Organization j2Solutions
Message-ID <[email protected]>
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


-- 
Psyche-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/psyche-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.