If these commands require environment variables (like something like MYSQL_HOME or whatever) you will need to source those in before you run your other scripts.

Put a line in rc.d that says something like:

. /<path>/<environment variable script>

<path> means the path to the script <environment variable script>

and in that script you would have lines like:

export MY_SQL_HOME=/export/home/mysql/whatever

 

 

HTH

 

Rick

 

 

-----Original Message-----
From: Alex Menendez [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 1:43 PM
To: [EMAIL PROTECTED]
Subject: Re: startup on boot

 

 both redhat 7.3 and the 2 commands lines are "/etc/init.d/mysql start"       "/usr/local/proftpd/current/proftpd -c /etc/proftpd.conf"

>From: Gene Yoo <[EMAIL PROTECTED]>

>Reply-To: [EMAIL PROTECTED]

>To: [EMAIL PROTECTED]

>Subject: Re: (no subject)

>Date: Thu, 27 Feb 2003 09:59:49 -0800

>

>Alex Menendez wrote:

>>I have an Issue with 2 of my linux servers,

>>I need 2 seperate command lines to be executed when the machine

>>starts automaticly. Im sure this is a simple yet often question.

>>

>>------------------------------------------------------------------------

>>-- redhat-list mailing list unsubscribe

>>mailto:[EMAIL PROTECTED]

>>https://listman.redhat.com/mailman/listinfo/redhat-list

>what version of linux?

>what command line?

>

>

>--

><>

>

>-----BEGIN PGP SIGNED MESSAGE-----

>Hash: SHA1

>

>

>-----BEGIN PGP SIGNATURE-----

>Version: GnuPG v1.2.0 (GNU/Linux)

>

>iQCUAwUBPhxERRxoVYCzmrKXAQJK5gP3Y7CTsFyKpEz2p5W4GWI9+qSm+kWfdJ0R

>xNlma0Ma9rAL/OBJcZMo5IXyXas+3Edogbv4Al6dIf8lot1WS0Iaxxl/cg2f7gf+

>otf7LfNpZDE/6OzR7A1qN6baPMLSjGzywwQWMfSVuWWb6kGQxMsA13Kn68G7Ozxs

>5CODZqUPyg==

>=AolA

>-----END PGP SIGNATURE-----

>

>

>

>--

>redhat-list mailing list

>unsubscribe

>mailto:[EMAIL PROTECTED]

>https://listman.redhat.com/mailman/listinfo/redhat-list



MSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*.

-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to