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

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



On 2/22/09, Nigel Henry <cave dnb2m97pp 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


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