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

Re: Playing a sound when initrd wants a password



On 2024-01-26, Nicolas George <george@nsup.org> wrote:
> Curt (12024-01-26):
>> I guess a systemd timer unit constitutes a hack.
>
> A systemd timer in the initrd? Can you elaborate?
>

A play-sound.timer unit file in /usr/lib/systemd/system-generators/initrd
directory.

A play-sound.service file in the same directory (that plays the sound).

Build and update the initrd image.

Enable and start timer.

Untried and untested and possibly erroneous.




Reply to: