![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to record shutdown/startup messages | Laksmi | Linux | 1 | 04-15-2008 06:44 AM |
| Shutdown scripts | luft | Linux | 1 | 05-15-2005 03:17 AM |
| Shutdown Scripts | zheng_soon | Shell Programming and Scripting | 4 | 07-08-2003 09:53 PM |
| rc scripts, do i need to kill them on shutdown? | kymberm | UNIX for Advanced & Expert Users | 1 | 02-10-2003 06:57 AM |
| eth0 at startup/shutdown errors | zorro81 | UNIX for Dummies Questions & Answers | 1 | 03-08-2002 09:24 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Startup/Shutdown scripts
I understand that by putting in entries into the /etc/inittab file. We can actually call the our scripts during startup.
mkitab "start_server:2 Would the system wait for startserver.sh finish executing before it goes to another entry? and how long would it wait before it aborts executing the startserver.sh. For shutdown, I gather from the ibm site and understand that /etc/rc.shutdown would be called during shutdown. We can place our shutdown scripts in rc.shutdown. If the system is doing a reboot, would it execute rc.shutdown too? Appreciate any inputs |
| Forum Sponsor | ||
|
|
|
|||
|
In your mkitab line you specify "start_server:2: once:...". Therefore it will not wait on it, but rather spawn a shell and execute /scripts/startserver.sh within that shell. If you want inittab to wait for this script to finish before moving to the next line in inittab you should change "once" to "wait".
|
|||
| Google The UNIX and Linux Forums |