Tune started from rc.local plays to completion, before bootup continues

Andras Simon szajmi at gmail.com
Sun Feb 22 15:17:45 UTC 2009


On 2/22/09, Nigel Henry <cave.dnb2m97pp at aliceadsl.fr> wrote:
> Experimenting a bit, I set up a one liner in rc.local, which uses aplay to
> play a tune which I put in /usr/local. See below.
>
> aplay /usr/local/Summer-in-the-city.wav
>
> I had to disable pulseaudio, by removing alsa-plugins-pulseaudio, otherwise
> the tune wouldn't play, but perhaps further aplay options are needed to get
> the tune to play with pulseaudio enabled.
>
> The question is though. When the tune is playing the bootup sequence stops,
> until the tune has finished playing, then procedes.
>
> Is there a way for the tune, which is fired off from rc.local, to play
> without
> interrupting the boot process?

Starting it in the background, I guess.
aplay /usr/local/Summer-in-the-city.wav &

Andras




More information about the fedora-list mailing list