home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / next / sysadmin / 4979 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.2 KB

  1. Path: sparky!uunet!haven.umd.edu!umd5!oberon.umd.edu!matthews
  2. From: matthews@oberon.umd.edu (Mike Matthews)
  3. Newsgroups: comp.sys.next.sysadmin
  4. Subject: Re: Question about shutdown.
  5. Message-ID: <15246@umd5.umd.edu>
  6. Date: 1 Sep 92 23:16:21 GMT
  7. References: <1992Aug25.150237.209@afs.com> <1992Sep1.080920.18289@csus.edu>
  8. Sender: news@umd5.umd.edu
  9. Organization: /etc/organization
  10. Lines: 26
  11.  
  12. In article <1992Sep1.080920.18289@csus.edu> eps@cs.sfsu.edu writes:
  13. >In article <1992Aug25.150237.209@afs.com>
  14. >    Michael_Pizolato@afs.com (Michael Pizolato) writes:
  15. >>Is there a file that gets executed at shutdown, like rc and rc.local get  
  16. >>executed at startup?
  17.  
  18. >No.
  19.  
  20. >                    -=EPS=-
  21.  
  22. But you can, of course, replace 'halt' (or 'shutdown' I suppose) with a shell
  23. script that does what you want then calls the original with whatever
  24. arguments you desire.
  25.  
  26. I have /etc/halt play a C3P0 sound "If you won't be needing me, I think I'll
  27. shut down for a while" and then halts.
  28.  
  29. The power key does an /etc/halt -e -p so this works for that as well.
  30. ------
  31. Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted)
  32. ------
  33. The probability of someone watching you is proportional to the
  34. stupidity of your action.
  35.  
  36.  
  37.  
  38.