Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2019 00:39:42 +0000 (UTC)
From:      Enji Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r342953 - stable/12/share/man/man8
Message-ID:  <201901120039.x0C0dg4t025528@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sat Jan 12 00:39:42 2019
New Revision: 342953
URL: https://svnweb.freebsd.org/changeset/base/342953

Log:
  MFC r342597:
  
  Remove legacy rc.d infrastructure references from rc(8)
  
  Legacy rc.d scripts (.sh extension) have not been supported since
  r193118. Remove the outdated references to the legacy format, as they
  are no longer valid.
  
  Bug:	193936
  Approved by:	emaste (earlier version, mentor), jtl (mentor)
  Differential Revision:	https://reviews.freebsd.org/D18804

Modified:
  stable/12/share/man/man8/rc.8
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/share/man/man8/rc.8
==============================================================================
--- stable/12/share/man/man8/rc.8	Fri Jan 11 22:28:18 2019	(r342952)
+++ stable/12/share/man/man8/rc.8	Sat Jan 12 00:39:42 2019	(r342953)
@@ -31,7 +31,7 @@
 .\"     @(#)rc.8	8.2 (Berkeley) 12/11/93
 .\" $FreeBSD$
 .\"
-.Dd September 18, 2018
+.Dd December 29, 2018
 .Dt RC 8
 .Os
 .Sh NAME
@@ -156,9 +156,6 @@ which sets
 to
 .Dq Li start ,
 and sources the script in a subshell.
-If the script has a
-.Pa .sh
-suffix then it is sourced directly into the current shell.
 Stop processing when the script that is the value of the
 .Va $early_late_divider
 has been run.
@@ -219,9 +216,6 @@ which sets
 to
 .Dq Li stop ,
 and sources the script in a subshell.
-If the script has a
-.Pa .sh
-suffix then it is sourced directly into the current shell.
 .El
 .Ss Contents of Nm rc.d/
 .Nm rc.d/
@@ -261,13 +255,6 @@ as well as services which might run commands as users
 and
 .Pa sendmail ) .
 .El
-.It Pa foo.sh
-Scripts that are to be sourced into the current shell rather than a subshell
-have a
-.Pa .sh
-suffix.
-Extreme care must be taken in using this, as the startup sequence will
-terminate if the script does.
 .It Pa bar
 Scripts that are sourced in a subshell.
 The boot does not stop if such a script terminates with a non-zero status,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901120039.x0C0dg4t025528>