[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Howto make the computer beep when system is halted?

> Some time ago I had a problem with a server that would not power down
> automatically so I added the following lines to /etc/init.d/halt to
> make it beep continually when it had shut down fully:
>     while test true
>     do
>       echo -e "\a"
>       sleep 1
>     done
> This should come after the 'halt' statement and before the ': exit 0'.

Thanks a lot! For me 2 single beeps are enough so I'll remove the loop.
Thanks again, thats exactly what I was searching for!

lg Clemens

Reply to: