Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Boot script

Status
Not open for further replies.

Lbriang

MIS
Jan 2, 2003
9
US
I am still somewhat new to SCO and UNIX and have what I think is simple question.

I have a command line (what we call them on the Windows side) and I want to run this when the server starts up. My question is I am not sure where to start on where it should go. I only know the syntax of the command line I am trying to run and I can do it manually at a prompt.

My server is a SCO 5.06.

I appreciate any assistance.
Brian
 
You can write a simple enough script, but I've usually just added them to this file:

/etc/rc.d/8/userdef

I recommend specifying full path to avoid any possible issues of the shell not finding your program.


All commands in this file are executed after system is started.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top