[CentOS] Re: how to create a boot up sound / chime for servers?

Sun Mar 2 09:56:28 UTC 2008
Rudi Ahlers <Rudi at SoftDux.com>

Scott Silva wrote:
> on 3-1-2008 8:26 AM Rudi Ahlers spake the following:
>> Scott Silva wrote:
>>> on 2-29-2008 10:55 AM Rudi Ahlers spake the following:
>>>> Scott Silva wrote:
>>>>> on 2-29-2008 2:54 AM Rudi Ahlers spake the following:
>>>>>> Hi
>>>>>>
>>>>>> I see some distro's, like Ubuntu has a nice short chime / sound 
>>>>>> when a machine is fully booted.
>>>>>> How / where can I setup, activate, or create such a boot up sound?
>>>>>>
>>>>> Do you want something using the system speaker, or the soundcard?
>>>>> If through system speaker, there is a utility called "beep" 
>>>>> (http://www.johnath.com/beep/)
>>>>> You can put it at the end of rc.sysinit (or just call it last in 
>>>>> whatever way you see fit) and not only beep, but play tunes. Only 
>>>>> limited by your imagination.
>>>>>
>>>>> ------------------------------------------------------------------------ 
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> CentOS mailing list
>>>>> CentOS at centos.org
>>>>> http://lists.centos.org/mailman/listinfo/centos
>>>>>   
>>>> Awesome, thanx :) Google didn't turn up anything usable. And yes, I 
>>>> want to use the system speaker, since it will be on servers, which 
>>>> generally don't have monitors, nor external speakers on the soundcard.
>>>>
>>> Here is the startup sound from ipcop for an example.
>>>
>>> # Send nice startup beep now
>>> /usr/bin/beep -l 75 -f 500
>>> /usr/bin/beep -l 75 -f 1000
>>> /usr/bin/beep -l 75 -f 2000
>>> /usr/bin/beep -l 75 -f 3000
>>>
>>> And on shutdown it does it reversed.
>>>
>>> # Send nice shutdown beep now
>>> /usr/bin/beep -l 75 -f 3000
>>> /usr/bin/beep -l 75 -f 2000
>>> /usr/bin/beep -l 75 -f 1000
>>> /usr/bin/beep -l 75 -f 500
>>>
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------ 
>>>
>>>
>>>   
>> This script works so well, thank you :)
>>
> I always try to please!  ;-)
>
>
> ------------------------------------------------------------------------
>
>   

Interestingly enough, it doesn't work on the Xen kernel. I suppose it 
has todo with the drivers not being installed on Xen?

-- 

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg