A simple to configure and fast init system.
FastRC is a Linux init system like systemd, runit, OpenRC etc. It is the first thing that Linux runs after it switches to userspace.
FastRC is blazing-fast and a piece of cake to setup in your linux distro. FastRC is also super lightweight.
sudo apt install gcc make libncurses-dev binutilssudo pacman -S gcc make ncurses binutilsmake menuconfigThis will bring up a TUI for you to customize your init.
makecp output/* ../your-linux-initrd/sbinmkdir fastrc# Example inittab for FastRC
# Main script/program
sysinit=/etc/fastrc/rcS
# Script/program that runs before poweroff
poweroff=/etc/fastrc/poweroff
# Script/program that runs before reboot
reboot=/etc/fastrc/poweroff
# Script/program that runs for ctrl+alt+del
ctrlaltdel=/sbin/reboot
# Script/program that runs forever
respawn=/bin/getty tty0
# Example configuration for FastRC
# Verbose messages (1 to enable, 0 to disable)
verbose=0
ln -s sbin/fastrc initinitrd
├── etc/
│ └── fastrc/
│ ├── inittab
│ └── conf
├── sbin/
│ ├── fastrc
│ ├── fastctl
│ ├── poweroff -> symlink to fastctl
├── └── reboot -> symlink to fastctl
└── init -> symlink to sbin/fastrc