B BadSpeed Verified User Joined Nov 20, 2004 Messages 30 Mar 30, 2005 #1 Hi, I have a redhat 9.0 and I was wondering how can I execute a shell script evry time that the server boots ??
Hi, I have a redhat 9.0 and I was wondering how can I execute a shell script evry time that the server boots ??
jmstacey Verified User Joined Feb 12, 2004 Messages 3,887 Location Colorado Mar 30, 2005 #2 You add the script to the rc.d or init.d directory, whichever the case may be.
nobaloney NoBaloney Internet Svcs - In Memoriam † Joined Jun 16, 2003 Messages 25,033 Location California Mar 31, 2005 #3 Jon, your solution will NOT automatically run the script. If it only has to run at boot, and not at shutdown, the best way to do it is to call it from: /etc/rc.d/rc.local Jeff
Jon, your solution will NOT automatically run the script. If it only has to run at boot, and not at shutdown, the best way to do it is to call it from: /etc/rc.d/rc.local Jeff
jmstacey Verified User Joined Feb 12, 2004 Messages 3,887 Location Colorado Mar 31, 2005 #5 jlasman said: Jon, your solution will NOT automatically run the script. Click to expand... Alright. Using Debian here, so just giving the general area to look.
jlasman said: Jon, your solution will NOT automatically run the script. Click to expand... Alright. Using Debian here, so just giving the general area to look.