Home | History | Annotate | Download | only in man8
History log of /src/share/man/man8/rc.8
RevisionDateAuthorComments
 1.41  31-Dec-2024  snj fix a spelling error and simplify wording
 1.40  07-Dec-2024  martin Now that shutdown(8) provides info why we are shutting down to the
shutdown scripts, add an optional local hook /etc/rc.shutdown.final
called last in the shutdown sequence and passed the reason.

This allows for easy local integration of special UPS commands before
we power down (e.g. to restart the UPS after some delay in case
utility power is restored too early and the machine has already powered
down and will only restart when it's power input is restored after being
off for a few seconds)
 1.39  14-Oct-2017  lukem rc(8): more foo.sh clarification

- Use "inline.sh" instead of "foo.sh".
- Clarify that "inline.sh" scripts will terminate the boot if
the script causes trhe current shell process to terminate.
- Use "service" instead of "bar.
- Use "sub-shell" instead of "subshell".

Inspired by feedback from kre@
 1.38  11-Oct-2017  lukem Clarify foo.sh behaviour

Improve wording of the warning for "foo.sh" behaviour,
to reduce ambiguity.
Per feedback from Sascha Wildner.
 1.37  17-Dec-2016  maya Reference dhcpcd as the sole DHCP client in general man pages.

We'd rather have new users use dhcpcd. hopefully this eliminates some
unnecessary confusion about there being two clients.
 1.36  14-May-2010  jruoho branches: 1.36.28;
Briefly note /etc/rc.local in rc(8).
 1.35  14-Apr-2010  wiz Join URL.
 1.34  14-Apr-2010  jruoho Add the USENIX paper of the author to SEE ALSO.
 1.33  11-Sep-2009  wiz Bump date for previous.
 1.32  11-Sep-2009  apb Add a postprocessor to /etc/rc, which logs messages to /var/run/rc.log,
and which can suppress output in silent mode. Silent mode is enabled
via the new rc_silent variable, which defaults to a value that depends
on the kern.boothowto sysctl.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.
 1.31  30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.30  06-Apr-2007  apb branches: 1.30.10; 1.30.12;
* Add a stop_boot() function in rc.subr, to terminate a multi-user boot
by killing the parent process. The parent's PID is saved in $RC_PID.
* In all rc.d/* scripts that previously tried to stop the boot,
replace in-line code with "stop_boot".
* Document this.

This should fix PR 29822.
 1.29  06-Apr-2007  apb Use ".Fn" markup for the names of shell functions.
 1.28  06-Jan-2004  wiz Grammar consistency fix for previous.
 1.27  06-Jan-2004  lukem Implement ``one'' prefix to allow a "one shot" operation as if
${rcvar}=yes yet all the other prerequisite tests are still performed.
The existing ``force'' prefix is a sledgehammer that ignores all the
prerequisite checks and always returns a zero exit status; this is a
more gentle approach to the problem of "manipulate this disabled
service without editing rc.conf(5)".
 1.26  30-Jun-2003  wiz Add some Ns.
 1.25  14-Feb-2003  grant The correct capitalisation of 'NetBSD.org' is (you
guessed it) 'NetBSD.org'.

some mdoc fixes.
 1.24  18-Apr-2002  lukem minor improvements, including consistency in how variables are formatted.
 1.23  22-Mar-2002  lukem add more rc.subr(8) and rc.conf(5) references
 1.22  25-Feb-2002  lukem rc.subr(8) - functions used by system shell scripts. Closes PR [misc/10828].
 1.21  25-Feb-2002  wiz Drop trailing space.
 1.20  25-Feb-2002  lukem explicitly mention that rc.d contains sh(1) scripts
 1.19  13-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.18  31-Jan-2002  lukem rename NETWORK to NETWORKING
 1.17  25-Nov-2001  wiz Drop an unnecessary .Pp.
 1.16  05-Sep-2001  wiz Boring whitespace fixes.
 1.15  04-May-2001  lukem enhance description of placeholder scripts and default arguments
 1.14  15-Dec-2000  lukem use `service' instead of `program'
 1.13  17-Nov-2000  lukem display dummy dependancies in the order that they're actually started
in, to be slighly more helpful: (i.e, NETWORK, SERVERS, DAEMON, LOGIN)
 1.12  22-Aug-2000  lukem - document `nostart' support for /etc/rc
- use bootconf.sh instead of fsck.sh as the `foo.sh' example
- add information how a normal script can stop the boot with kill -TERM $$
- update history
 1.11  26-Jul-2000  lukem describe rc.d/NETWORK. xref rcorder -k for keywork explanation
 1.10  17-Jul-2000  lukem rc.shutdown now only calls scripts that have a ``shutdown'' keyword.
 1.9  05-Jul-2000  msaitoh remove extra period in SEE ALL section
 1.8  29-Apr-2000  lukem branches: 1.8.4;
minor typo
 1.7  28-Apr-2000  lukem update NAME
 1.6  28-Apr-2000  lukem Total rewrite post rc.d implementation.
 1.5  08-Dec-1999  soren Xref rc.conf(5).
 1.4  17-Mar-1999  garbled branches: 1.4.6;
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.3  30-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  30-Nov-1994  jtc imported from 4.4lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.4.2  23-Aug-2000  lukem pull up rev 1.12:
- document `nostart' support for /etc/rc
- use bootconf.sh instead of fsck.sh as the `foo.sh' example
- add information how a normal script can stop the boot with kill -TERM $$
- update history

approved: thorpej
 1.8.4.1  09-Aug-2000  lukem pull up revs 1.9-1.11
approved by thorpej

1.9:
remove extra period in SEE ALL section

1.10:
rc.shutdown now only calls scripts that have a ``shutdown'' keyword.

1.11:
describe rc.d/NETWORK. xref rcorder -k for keywork explanation
 1.30.12.1  18-May-2008  yamt sync with head.
 1.30.10.1  02-Jun-2008  mjf Sync with HEAD.
 1.36.28.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)

RSS XML Feed