A lightweight, user-friendly Linux init generator.
The init is the first userspace program executed by the Linux kernel after boot. It’s responsible for:
- Starting essential services and daemons
- Mounting partitions and filesystems
- Handing control over to the shell or login manager
Without a proper init, your system won’t know how to transition from kernel space to user space.
First, we need to install some packages.
sudo apt install make gcc binutilssudo pacman -S make gcc binutilschmod +x configure
./configureIt will prompt you with a few questions to customize how your init script behaves.
- init.c (Main C file)
- Makefile (To easily compile)
make