lkml.org 
[lkml]   [1998]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Minor request for enhancement: "beep on halt"
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.065 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site