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