Added --version flag to init and updated manual page.
This commit is contained in:
@@ -32,6 +32,9 @@ init, telinit \- process control initialization
|
||||
[ \fB\-z\fP \fIxxx\fP ]
|
||||
.RB [ " 0123456Ss " ]
|
||||
.br
|
||||
.B /sbin/init
|
||||
.RB [ " --version " ]
|
||||
.br
|
||||
.B /sbin/telinit
|
||||
[ \fB\-t\fP \fISECONDS\fP ]
|
||||
.RB [ " 0123456sSQqabcUu " ]
|
||||
@@ -247,6 +250,12 @@ line a bit, so that it takes some more space on the stack. \fBInit\fP
|
||||
can then manipulate the command line so that \fBps\fP(1) shows
|
||||
the current runlevel.
|
||||
.PP
|
||||
.TP 0.5i
|
||||
.BI "--version "
|
||||
This argument, when used on its own, displays the current version of init
|
||||
to the console/stdout. It is a quick way to determine which init software and
|
||||
version is being used.
|
||||
.PP
|
||||
.SH INTERFACE
|
||||
Init listens on a \fIfifo\fP in /dev, \fI/run/initctl\fP, for messages.
|
||||
\fBTelinit\fP uses this to communicate with init. The interface is not
|
||||
|
Reference in New Issue
Block a user