Add flasher credential provisioning, LUKS2 FDE, LED fixes, and docs

This commit is contained in:
Luxferre committed 2026-11-23 08:21:37 +02:00
1 parent 2706b9a901
commit b7dca4f15f
49 files changed
+1524 -183

No files matched your search

+3 -1
View File
@@ -193,7 +193,8 @@ static void lock_x11_session(void) {
if (access("/tmp/.X11-unix/X0", F_OK) != 0) return;
if (is_lock_running()) return;
struct passwd *pw = getpwnam("user");
struct passwd *pw = getpwuid(10000);
if (!pw) pw = getpwnam("user");
if (!pw) return;
int pfd[2];
@@ -373,6 +374,7 @@ static int setup_uevent_socket(void) {
}
int main(void) {
signal(SIGPIPE, SIG_IGN);
powerd_ctx_t ctx;
memset(&ctx, 0, sizeof(ctx));
ctx.saved_brightness = 128;