Files
linuxkit/pkg/init/etc/inittab
Justin Cormack 08e211df44 Use the sinit conventions for init
This should make it easier to switch out `init` for other versions,
although the `getty` config still needs to be removed.

- use `/bin/rc.init` for start
- use `rc.shutdown` for stop
- make `rc.init` run other code.
- merge `containers` and `containerd` startup code

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-30 14:14:34 +01:00

10 lines
179 B
Plaintext

# /etc/inittab
::sysinit:/bin/rc.init
# Stuff to do for the 3-finger salute
::ctrlaltdel:/bin/rc.shutdown reboot
# Stuff to do on shutdown
::shutdown:/bin/rc.shutdown poweroff