Module Name: src Committed By: apb Date: Wed Oct 2 22:07:56 UTC 2013
Modified Files: src/sbin/init: init.8 Log Message: The "-s" flag is passed to init by the kernel, not by the boot loader. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sbin/init/init.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/init/init.8 diff -u src/sbin/init/init.8:1.58 src/sbin/init/init.8:1.59 --- src/sbin/init/init.8:1.58 Wed Oct 2 22:01:47 2013 +++ src/sbin/init/init.8 Wed Oct 2 22:07:56 2013 @@ -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 .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,