File: runlevel.8

package info (click to toggle)
runit 2.2.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,568 kB
  • sloc: ansic: 6,071; sh: 3,419; makefile: 399
file content (26 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.TH RUNLEVEL 8 "Jan  3, 2022" "" "GNU/Linux System Adminstrator's manual"
.SH NAME
runlevel \- SysV-init compatibility layer
.SH SYNOPSIS
.B /sbin/runlevel
.SH DESCRIPTION
This program always prints a compatibility string that is used by
.B update-rc.d
program and by some other initscript, like
.B kexec.
.RE
During stage 2 the
.I `N
.I 2'
string is printed.
.RE
During stage 3, if runit was told to reboot the system, the
.I `N
.I 6'
string is printed; a
.I `N
.I 0'
string is printed otherwise.
.SH SEE ALSO
.BR runit(8),
.BR update-rc.d (8)