Re: Beep on shutdown

George (greerga@nidhogg.ham.muohio.edu)
Mon, 31 May 1999 00:45:35 -0400 (EDT)


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/