a bare-minimum init
Find a file
2020-06-20 22:01:25 +02:00
src fix signals, add shutdown command 2020-06-20 21:52:21 +02:00
svc initial commit 2020-06-14 01:02:16 +02:00
.gitignore initial commit 2020-06-14 01:02:16 +02:00
Cargo.lock initial commit 2020-06-14 01:02:16 +02:00
Cargo.toml fix signals, add shutdown command 2020-06-20 21:52:21 +02:00
config.toml initial commit 2020-06-14 01:02:16 +02:00
Makefile add deploy script & some minor cleanup 2020-06-20 15:27:21 +02:00
README.md update readme 2020-06-20 22:01:25 +02:00

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...