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

editing shutdown sequence

Status
Not open for further replies.

seanc724

MIS
Jan 7, 2004
4
US
is there a way to edit the shutdown sequence? basically, people are rebooting our aix boxes but not shutting down the genesys framework properly. is there a way to essentially add that sequence to the shutdown command?
 
Place your custom shutdown commands in /etc/rc.shutdown, creating it if it doesn't exist.

The normal AIX shutdown script (/etc/shutdown) will execute /etc/rc.shutdown if it is exists and is executable.

Note that if rc.shutdown returns anything but 0, the shutdown will be aborted. If you want the shutdown to continue no matter what happens in your script, make the last command something that always returns 0, such ast /usr/bin/true.



Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top