Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: sbaguz on April 28, 2010, 05:49:50 AM

Title: Startup/shutdown sounds
Post by: sbaguz on April 28, 2010, 05:49:50 AM
What's the fastest and easiest way to make TCL play a chosen sound (wav or others) at startup/shutdown?

Thanks

 ;)
Title: Re: Startup/shutdown sounds
Post by: curaga on April 28, 2010, 06:01:59 AM
Shutdown might be too quick, depending on the sound ;)

Put the play commands to /opt/bootlocal.sh for boot, and /opt/shutdown.sh for shutdown, backgrounded.

Alsa and wav - aplay
OSS wav - ossplay

For other formats see one of the many player extensions.
Title: Re: Startup/shutdown sounds
Post by: sbaguz on April 28, 2010, 08:13:14 AM
Thanks: aplay is the command I was looking for!

 :)