Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/init document the conditions for /etc/rc to be called w...



details:   https://anonhg.NetBSD.org/src/rev/f897825dd9a5
branches:  trunk
changeset: 485495:f897825dd9a5
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Apr 29 00:47:06 2000 +0000

description:
document the conditions for /etc/rc to be called with "autoboot"

diffstat:

 sbin/init/init.8 |  17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r cb8f32cd9538 -r f897825dd9a5 sbin/init/init.8
--- a/sbin/init/init.8  Sat Apr 29 00:43:36 2000 +0000
+++ b/sbin/init/init.8  Sat Apr 29 00:47:06 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: init.8,v 1.21 2000/04/26 15:01:36 lukem Exp $
+.\"    $NetBSD: init.8,v 1.22 2000/04/29 00:47:06 lukem Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -36,7 +36,7 @@
 .\"
 .\"     @(#)init.8     8.6 (Berkeley) 5/26/95
 .\"
-.Dd April 26, 2000
+.Dd April 29, 2000
 .Dt INIT 8
 .Os BSD 4
 .Sh NAME
@@ -70,9 +70,16 @@
 .Pa /etc/rc
 (see
 .Xr rc 8 ) .
-If this exits with a non-zero (error) exit code, commence single user
-operation by giving the super-user a shell on the console by going to
-state 1 (single user).
+If this was the first state entered (as opposed to entering here after
+state 1), then
+.Pa /etc/rc
+will be invoked with its first argument being
+.Sq autoboot .
+If
+.Pa /etc/rc
+exits with a non-zero (error) exit code, commence single user
+operation by giving the super-user a shell on the console by going
+to state 1 (single user).
 Otherwise, proceed to state 3.
 .It
 Setup ttys as specified in



Home | Main Index | Thread Index | Old Index