a bare-minimum init
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
darkgallium 286c540ba7 update readme 1 year ago
src fix signals, add shutdown command 1 year ago
svc initial commit 1 year ago
.gitignore initial commit 1 year ago
Cargo.lock initial commit 1 year ago
Cargo.toml fix signals, add shutdown command 1 year ago
Makefile add deploy script & some minor cleanup 1 year ago
README.md update readme 1 year ago
config.toml initial commit 1 year ago

README.md

mini

mini is a minimal init system. It was created mainly for educational purposes and also for the sake of reducing my laptop's boot time.

You may use it at your own risk, it is not ready for any serious use (and will probably never be :)).

Install

  1. Clone this repo
  2. cargo build --release
  3. cp target/release/mini /sbin/
  4. Create your services files if needed (using the files given in svc/ as a template) and put them in /etc/mini
  5. Edit the kernel command line and add init=/sbin/mini

Developing

To ease development, I created a Makefile that will automatically compile and deploy latest version of mini on a QEMU VM. More details to come...