🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.sysadmin
3 messages
3 total messages Started by Michael Pizolato Tue, 25 Aug 1992 15:02
Question about shutdown.
#668
Author: Michael Pizolato
Date: Tue, 25 Aug 1992 15:02
8 lines
525 bytes
Is there a file that gets executed at shutdown, like rc and rc.local get  
executed at startup?

--
Michael_Pizolato@afs.com
~18 kyu
Q16
NeXTMail appreciated
Re: Question about shutdown.
#843
Author: Eric P. Scott
Date: Tue, 01 Sep 1992 08:09
8 lines
612 bytes
In article <1992Aug25.150237.209@afs.com>
	Michael_Pizolato@afs.com (Michael Pizolato) writes:
>Is there a file that gets executed at shutdown, like rc and rc.local get  
>executed at startup?

No.

					-=EPS=-
Re: Question about shutdown.
#884
Author: Mike Matthews
Date: Tue, 01 Sep 1992 23:16
23 lines
1227 bytes
In article <1992Sep1.080920.18289@csus.edu> eps@cs.sfsu.edu writes:
>In article <1992Aug25.150237.209@afs.com>
>	Michael_Pizolato@afs.com (Michael Pizolato) writes:
>>Is there a file that gets executed at shutdown, like rc and rc.local get  
>>executed at startup?

>No.

>					-=EPS=-

But you can, of course, replace 'halt' (or 'shutdown' I suppose) with a shell
script that does what you want then calls the original with whatever
arguments you desire.

I have /etc/halt play a C3P0 sound "If you won't be needing me, I think I'll
shut down for a while" and then halts.

The power key does an /etc/halt -e -p so this works for that as well.
------
Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted)
------
The probability of someone watching you is proportional to the
stupidity of your action.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads