KISS’ default init system and service manager are provided by busybox. The service manager being an independent implementation of runit’s utilities. This default should work with all system configurations though one may still wish to swap to the init system and service manager of their choosing.
This is very easily done via the package manager’s alternatives system as nothing is tightly coupled or dependent on a specific init or service manager.
After switching init systems, your running init system may not accept the new poweroff commands. You will need to reboot/poweroff using the running init’s utilities for the new utilities to work. These commands are for the init system currently running on your system and not the one you are switching to.
# Busybox
$ busybox reboot
# Runit
$ runit-init 6
# sinit/shinit and Hummingbird
$ kill -s INT 1
Begin by first verifying that runit is installed.
# Available in the Community repository.
$ kiss b runit && kiss i runit
Finally, use the alternatives system to swap to runit.
# See <https://mcpcpc.github.io/k1ss/wiki/package-manager#3.2> for more information.
$ kiss a runit /usr/bin/init
$ kiss a runit /usr/bin/poweroff
$ kiss a runit /usr/bin/reboot
Make sure to install Hummingbird.
# Available in the Community repository.
$ kiss b hummingbird-git && kiss i hummingbird-git
Then, swap to Hummingbird by using the alternatives system.
$ kiss a hummingbird-git /usr/bin/init
$ kiss a hummingbird-git /usr/bin/reboot
Once you have booted using Hummingbird, take note that the command used to turn the system off is “shutdown”.
Hummingbird doesn’t provide a service manager, and doesn’t read from inittab either. Some people find it useful to have one, such as runsvdir.
$ mkdir /etc/rc.d
$ echo 'runsvdir -P /var/service &' > /etc/rc.d/runsvdir.boot