home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / admin / 4919 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.2 KB  |  28 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!eff!ckd
  3. From: ckd@eff.org (Christopher Davis)
  4. Subject: Re: site customization of shutdown
  5. In-Reply-To: pwh@bradley.bradley.edu's message of Thu, 23 Jul 92 18:57:29 GMT
  6. Message-ID: <CKD.92Jul23165631@loiosh.eff.org>
  7. Sender: usenet@eff.org (NNTP News Poster)
  8. Nntp-Posting-Host: loiosh.eff.org
  9. Organization: Electronic Frontier Foundation Tech Central
  10. References: <1992Jul23.185729.2742@bradley.bradley.edu>
  11. Date: Thu, 23 Jul 1992 20:58:49 GMT
  12. Lines: 14
  13.  
  14. Pete> == Pete Hartman <pwh@bradley.bradley.edu> 
  15.  
  16.  Pete> Is there any "nice" way to add tasks to /etc/shutdown, or am I
  17.  Pete> going to have to write an "ugly" shellscript or C wrapper [...]
  18.  
  19. Well, the easy way, though it may not be nice, is to make a 'myshutdown'
  20. script that does a 'shutdown -k' (for 'kidding'), then when that ends,
  21. does whatever extra cleanup is needed, and a 'shutdown $realflags now'.
  22.  
  23. --
  24. Christopher Davis * ckd@eff.org * System Administrator, EFF * +1 617 864 0665
  25.    ``The First Amendment is often inconvenient.  But that is besides the
  26.   point.  Inconvenience does not absolve the government of its obligation
  27.          to tolerate speech.'' --Justice Anthony Kennedy, in 91-155
  28.