Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: remove getpid()==1 guards blocking install and reboot

ac-native is never PID 1 (init script is). The getpid check prevented
install-to-disk and post-install reboot from ever executing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+3 -3
+3 -3
fedac/native/src/ac-native.c
··· 2049 2049 } 2050 2050 } 2051 2051 2052 - // Install kernel to internal drive (only if user held W during boot) 2053 - if (getpid() == 1 && want_install) { 2052 + // Install kernel to internal drive (only if user pressed W during boot) 2053 + if (want_install) { 2054 2054 int install_ok = auto_install_to_hd(&graph, screen, display, pixel_scale); 2055 2055 int should_reboot = 1; 2056 2056 if (!headless && display) 2057 2057 should_reboot = draw_install_reboot_prompt(&graph, screen, display, input, tts, audio, install_ok, pixel_scale); 2058 2058 if (install_ok) should_reboot = 1; 2059 - if (should_reboot && getpid() == 1) { 2059 + if (should_reboot) { 2060 2060 if (tts) { tts_speak(tts, "powering off"); tts_wait(tts); } 2061 2061 audio_shutdown_sound(audio); 2062 2062 usleep(600000);