lkml.org 
[lkml]   [1999]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Beep on shutdown
On Sat, 29 May 1999, Vladimir Dergachev wrote:

>I rememeber some talk a while ago about having an option of making system
>beep of "System halted" message is displayed.

If you have RedHat, edit /etc/rc.d/init.d/halt:

# Now halt or reboot.
echo "$message"
[ -f /fastboot ] && echo "On the next boot fsck will be skipped."
+ echo -e '\a'
eval $command -d

If you don't want it to beep on reboot, adjust script to suit. The above
works in bash, maybe different for your flavor of shell. Slackware is
similiar but /etc/rc.d/rc.0 instead.

-George Greer


-
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:52    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog