mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-01 22:22:04 +00:00
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>
10 lines
179 B
Plaintext
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
|