-
Notifications
You must be signed in to change notification settings - Fork 0
Static init
License
nshp/sinit
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
sinit - suckless init - nshp's fork =================================== sinit is a simple init. It was initially based on Rich Felker's minimal init[1]. What's different? ---------------- My fork of sinit adds: * Service forking defined in config.h with very dumb dependency tracking * A single user session defined in config.h * Base system mounting defined in config.h * Static reboot and poweroff binaries which just send the signals listed below When I build this with dietlibc, the resulting binary is currently 5272 bytes. Why? ---- I wanted a fast, completely static init for my laptop. How? ---- There are 3 signals that sinit will act on. SIGUSR1: powers off the machine. SIGINT: reboots the machine (or alternatively via ctrl-alt-del). SIGCHLD: reap children
About
Static init
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published