mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
e8391864d7c346d23e1c57328d3ea69d5e418b78
Stanzas in /lib/finit/system cannot use if:keventd, or any other built-in service: if: is evaluated at parse time, and the generated .conf files for built-ins were read after the system directory, so the referenced service did not exist yet and the stanza was dropped. The late position was deliberate: it kept bundled services from starting before udev (5d703fd3). The motivating case was dbus, which has since moved to a build-time 20-dbus.conf (2e0b1d6f), and the built-ins that remain want the early slot: watchdogd should start as soon as possible, keventd is the device manager, and runparts is gated on int/bootstrap so its position never mattered. Reading /run/finit/system first also puts the override chain in its natural order: built-in/generated defaults, then bundled (read-only) system files in /lib, then the administrator (override) .conf file in /etc/finit.d, always read last. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
…
Finit is a fast, simple alternative to SysV init and systemd, designed for small and embedded Linux systems. It can also run on desktop and server systems, like finix.
Reverse engineered from the EeePC fastinit
"gaps filled with frog DNA …"
— Claudio Matsuoka
For detailed information, explore our extensive documentation
📚 http://finit-project.github.io
For working examples, see the 🚀 contrib/ section or these tutorials:
- 🛠️ Buildroot embedded Linux,
- 📦 Debian GNU/Linux,
- ⛰️ Alpine Linux, and
- 🌌 Void Linux
Note
Finit can run on various Linux distributions, but the bundled install scripts are examples only. They have been tested on amd64 (x86_64) systems with standard configurations.
For embedded systems, see these Buildroot-based examples: myLinux, Infix, or br2-finit-demo.
Languages
C
84.3%
Shell
11.9%
Makefile
2.1%
M4
1.7%

