Page MenuHomeFreeBSD

D48876.diff
No OneTemporary

D48876.diff

diff --git a/sbin/rcorder/rcorder.8 b/sbin/rcorder/rcorder.8
--- a/sbin/rcorder/rcorder.8
+++ b/sbin/rcorder/rcorder.8
@@ -29,7 +29,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd June 10, 2023
+.Dd February 6, 2025
.Dt RCORDER 8
.Os
.Sh NAME
@@ -139,6 +139,11 @@
lines, in which case it provides no conditions, and may contain zero
.Ql REQUIRE
lines, in which case it has no dependencies.
+A file with zero
+.Ql PROVIDE
+lines is ignored by
+.Xr rc 8 ,
+and will not execute during system startup.
There must be at least one file with no dependencies in the set of
arguments passed to
.Nm
diff --git a/share/man/man8/rc.8 b/share/man/man8/rc.8
--- a/share/man/man8/rc.8
+++ b/share/man/man8/rc.8
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd September 20, 2024
+.Dd February 6, 2025
.Dt RC 8
.Os
.Sh NAME
@@ -293,6 +293,12 @@
.Dq Li BEFORE
keywords.
.Pp
+Scripts without a
+.Dq PROVIDE
+entry are ignored by
+.Nm
+and are not executed during system startup.
+.Pp
Each script is expected to support at least the following arguments, which
are automatically supported if it uses the
.Fn run_rc_command

File Metadata

Mime Type
text/plain
Expires
Thu, Feb 13, 3:28 AM (21 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16621785
Default Alt Text
D48876.diff (1 KB)

Event Timeline