Re: Minor request for enhancement: "beep on halt"
Tygrys (tygrys@tygrys.eu.org)
Tue, 15 Dec 1998 08:29:01 +0100
Krzysztof Halasa wrote:
>
> miquels@cistron.nl (Miquel van Smoorenburg) writes:
>
> > If you want the system (non-slackware) to beep when it's safe to turn
> > off the power, either hack the halt (8) binary, or edit the appropriate
> > script that calls halt. In Debian that's /etc/init.d/halt
> >
> > The only thing you cannot do is beep in an endless loop, but you can
> > beep 4 times and then call halt.
>
> When the /etc/rc.d/init.d/halt is executed, all the filesystems are
> unmounted and net interfaces are down. How about beeping in a loop,
> _instead_ of calling /sbin/halt?
That's not a good idea on some architectures...
--
Greetz,
Tygrys [161-Tango Delta Echo-002] - at 27MHz
if I have a bad day, ;-)
("`-''-/").___..--''"`-._ TyGrYs *** ExPeCt No MeRcY! ***
`6_ 6 ) `-. ( ).`-._-. KSS Network Administrator
(_Y_.)' ._ ) `._ `. "-..' http://www.gdynia.sprint.pl/~tygrys/
_..`--'_..-_/ /--'_.'_,' ICQ:3297597 LU156-NIC 2:484/53@fidonet
(((' (((-((('' (((( Linux Forever!!! Member of JTZ
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/