SINIT(8)

NAME
sinit - simple init

DESCRIPTION
sinit is a simple init. It is configured by modifying “config.h” and recompiling the code.

  Init sequence
By default sinit will execute “/bin/rc.init”. You can chain your init scripts together at that point to allow for single-user and multi-user operation.

  Signal handling
sinit will respond to the following signals:

USR1
    Default action is to initiate the shutdown sequence by executing “/bin/rc.shutdown poweroff”.

INT Default action is to initiate the reboot sequence by executing “/bin/rc.shutdown reboot”.

CHLD
    Reap children.

  General considerations
Running the “rc.shutdown” script directly is not recommended. If any process in your session has stale filesystem references then it is likely your init scripts will fail to unmount the filesystem cleanly. It is recommended to signal sinit via a wrapper script.

sinit does not clear utmp records. The version of getty(8) in ubase clears the utmp entries on the specified tty before it spawns the given program, usually login(1).

sinit does not restart getty(8) or interact with it in any way. You will need an external respawning mechanism to restart it.

SEE ALSO
killall5(8), getty(8)

AUTHORS
The sinit program was written by Dimitris Papastamos <sin@2f30.org>.