RUNLEVEL(8)
π RUNLEVEL(8) π
okay bestie so this is runlevel(8), straight out of the GNU/Linux System Administrator's manual, and it's basically the tiny little diplomat that keeps old SysV-style scripts from having a meltdown π«Ά
β¨ NAME β¨
runlevel β the SysV-init compatibility layer, aka the vibe translator between your scripts and runit π
πΈ SYNOPSIS πΈ
/sbin/runlevel
that's it. no args. no flags. she's low maintenance, she's booked, she's busy π
π¦ DESCRIPTION π¦
so here's the tea π β this program always prints a compatibility string. like, always. no cap. that string is what the update-rc.d program uses, and also what some other initscripts use, for example kexec.
the exact string depends on which stage you're in:
- during stage 2 β she prints the
N 2string β¨ - during stage 3 β okay this one's conditional, pay attention bestie:
- if
runitwas told to reboot the system, theN 6string gets printed π₯ - otherwise, the
N 0string is printed π
- if
and that's literally the whole job. no notes.
π SEE ALSO π
ngl it's giving "small program, big responsibility" energy and we respect it for that π
mwah π that's the whole page, and it's from the GNU/Linux System Administrator's manual, dated Jan 3, 2022. slay, go forth and check your runlevel πβ¨
π¦ where this page comes from
- debian bookworm: runit 2.1.2-54 Β· BSD-3-Clause
- debian trixie: runit 2.2.0-3 Β· BSD-3-Clause
- ubuntu jammy: runit 2.1.2-44ubuntu2 Β· BSD-3-Clause
- ubuntu noble: runit 2.1.2-59ubuntu1 Β· BSD-3-Clause
- ubuntu questing: runit 2.2.0-4ubuntu1
- ubuntu resolute: runit 2.3.0-1ubuntu1 Β· BSD-3-Clause
- ubuntu stonking: runit 2.3.1-5ubuntu1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms