Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8374

General programming discussion • Re: Start LED before LUKS password entry

$
0
0
What am i missing here?
Since rootfs is encrypted, there's no way you're going to be able to get any services to run before you get that rootfs unecrypted. The luks unlock is done in initramfs before the rootfs is unlocked.

I haven't tried this, but if you're using a script to prompt for the luks password, you might be able to add your LED flashing code into that, depending on exactly what environment the LED flashing code requires.

If you're not using a luks unlock script and wondering what the heck I'm talking about, you can read about it here and see the exact luks unlock code that sdm uses here, search for "sdmluksunlock".

Statistics: Posted by bls — Wed Jul 31, 2024 1:42 pm



Viewing all articles
Browse latest Browse all 8374

Trending Articles