Re: Minor request for enhancement: "beep on halt"

Krzysztof Halasa (khc@intrepid.pm.waw.pl)
14 Dec 1998 14:21:55 +0100


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?

-- 
Krzysztof Halasa
Network Administrator of The Palace of Youth in Warsaw

- 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/