Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109987993
D48876.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D48876.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D48876: Patch rcorder(8) and rc(8) to clarify scripts without 'PROVIDE' are not run during system startup. PR: 121440
Attached
Detach File
Event Timeline
Log In to Comment