It is currently Sat, 23 Jul 2016 11:07:21 GMT



 
Author Message
 shutdown script
Zhu Xiang Yong <xy...@ncs.com.sg> wrote:

One of the first thing that "shutdown" does is look for the existence
of /etc/shutdown.rc (I think, have a look at shutdown - which is a
script).
Create /etc/shutdown.rc and put your shutdown commands in there. Be
aware that if /etc/shutdown.rc exits with a non-sero return code the
shutdown will hang.

Ted.
==============================================================
| Ted Linnell                     <edlinn...@acslink.net.au> |
| BSc GradDipDP CNA MACS PCP                                 |
| Nunawading, Victoria , Australia                           |
==============================================================



 Sat, 14 Apr 2001 03:00:00 GMT   
 shutdown script
i believe shutdown calls /etc/rc.shutdown.  another way to do it would be
to alias shutdown to run you script && call shutdown.  /etc/rc.shutdown is
of course the preferred method...

Orphy! :-)
Dallas, TX

In article <36357c87.1097...@news.mpx.com.au>,



 Sat, 14 Apr 2001 03:00:00 GMT   
 
   [ 3 post ] 

Similar Threads

1. /usr/ucb/shutdown & Shutdown scripts

2. Shell script help, shutdown script

3. Shutdown Script

4. startup and shutdown script

5. startup / shutdown scripts

6. shutdown script

7. Solaris 8 shutdown script - question

8. System startup/shutdown scripts logs

9. Startup Shutdown scripts

10. startup & shutdown scripts


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software