The "-s" flag is passed to init by the kernel, not by the boot loader.

This commit is contained in:
apb 2013-10-02 22:07:56 +00:00
parent 06dcf00819
commit 86fd64c325

View File

@ -1,4 +1,4 @@
.\" $NetBSD: init.8,v 1.58 2013/10/02 22:01:47 apb Exp $
.\" $NetBSD: init.8,v 1.59 2013/10/02 22:07:56 apb Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -40,6 +40,7 @@
.Nd process control initialization
.Sh SYNOPSIS
.Nm
.Op Fl s
.Sh DESCRIPTION
The
.Nm
@ -64,10 +65,13 @@ The following table describes the state machine used by
.Bl -enum
.It
Single user shell.
.Nm
may be passed
If the kernel is booted in single user mode (see
.Xr boothowto 9 ) ,
then the kernel will pass the
.Fl s
from the boot program to prevent the system from going multi-user and
option to
.Nm
to prevent the system from going multi-user and
to instead execute a single user shell without starting the normal
daemons.
If the kernel is in a secure mode,