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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Startup Script

Status
Not open for further replies.

sinyce

IS-IT--Management
May 27, 2002
57
0
0
US
AIX 5.1 ML3

I've written a script called rc.local that is in the /etc folder. I would like this script to run upon startup after the CDE loads.

Script is owned by root, and belongs to system with rwxrwx--- permissions

Anyone can tell me what to do next?

Sinyce
 
You would probably want to define it in your /etc/inittab file to be run once at startup. See inittab for other examples.

IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
MS Certified Windblows Rebooter
 
Ok, so I looked at the inittab and inserted this after the dt loads

mxmail:2:eek:nce:/etc/rc.local

The script runs but now when I do a ps -eaf | grep for that process, it shows up twice. There are two instances of it.

Any idea?
 
i suspect script syntax. does it run two instances on normal execution?

IBM Certified -- AIX 4.3 Obfuscation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top