PROPHET/OS

NAME

init: without a level it runs the vigils from /system/config/vigils.yaml

SYNOPSIS

init [runlevel]

DESCRIPTION

Without a level it runs the vigils from /system/config/vigils.yaml. With a level it switches the runlevel and tells the running init.

init runs in ring 3 like any other program and talks to the vigils over channels. It is the first program the kernel starts and the one that starts the rest.

It starts them in the order of the lines of that file, and it hands each of them to a thread of its own so that loading an image does not hold up the round (R12-INIT-02). A vigil that keeps failing goes to maintenance instead of being thrown for ever (R12-INIT-04), and one that waits for a fact of the machine says so in its Needs column (R12-INIT-03).

init <level> is the only way to switch the level: it sets the number and tells the running starter, which applies it. runlevel <n> set only the number, so the vigils of the new level stayed as they were; the command is gone since 2026-10-02 and vigils shows what it showed.

Level 0 is the level on which nothing runs. That is a level, not an error, and it is why a number argument here is read strictly: 0 means level zero, not "no level given".

poweroff, reboot.

EXAMPLE

$ init --help
init [runlevel]
  without a level: runs the vigils from /system/config/vigils.yaml
  with a level: switches the runlevel and tells the running init
  a level is 0 to 5: 0 off, 1 single, 3 text, 5 graphics

SEE ALSO

vigils` (which shows the level), vigil, portal