Joachim Wiberg 4e18affa9b Allow skipping bootstrap wait with Ctrl-C
When setting up a new system with Finit it is very common to make small
logical mistakes that cause "hangs" at boot.  This is when Finit waits
for 180 sec. for run/tasks to complete before moving to the configured
runlevel.  This patch adds console input monitoring during bootstrap
wait that allows users to press Ctrl-C to skip waiting and proceed to
the configured runlevel.

When Ctrl-C is detected, all incomplete run/task/services are logged
to syslog for later troubleshooting after login.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2025-12-07 09:38:12 +01:00
2025-07-10 15:01:02 +02:00
2025-11-30 11:36:53 -05:00
…
2024-01-06 20:02:45 +01:00
2025-07-10 15:35:46 +02:00
2025-07-10 14:34:16 +02:00
2025-08-29 12:54:06 +02:00
2025-07-10 15:09:31 +02:00

License Badge GitHub Status Coverity Status Finit: Fast Init

Finit is an alternative to SysV init and systemd, focused on small and embedded Linux systems, although fully usable on server and desktop systems.

Reverse engineered from the EeePC fastinit
"gaps filled with frog DNA …"
— Claudio Matsuoka

For detailed information, explore our extensive documentation
📚 https://troglobit.github.io/finit/

Alpine screenshot

For working examples, see the 🚀 contrib/ section or these tutorials:

Note

Support for various Linux distributions does not mean Finit installs easily on all architectures. Bundled install scripts are examples for standard installations, tested on amd64 (x86_64) systems. Custom setups, e.g., for embedded systems, can be found in the following Buildroot based examples: myLinux, Infix, or the plain br2-finit-demo.

Languages
C 84.3%
Shell 11.9%
Makefile 2.1%
M4 1.7%