Bug 140440

Summary: [patch] allow local command files in rc.{suspend,resume}
Product: Base System Reporter: J.R. Oldroyd <fbsd>
Component: confAssignee: freebsd-rc (Nobody) <rc>
Status: Open ---    
Severity: Affects Only Me CC: petr.fischer
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description J.R. Oldroyd 2009-11-10 05:00:09 UTC
Allow local command files in /etc/rc.{suspend,resume}

Patch below will invoke commands in /etc/rc.{suspend,resume}.local if those
files are present.  This allows local commands to be placed in separate files
so that the main /etc/rc.{suspend,resume} can be replaced during a system
upgrade without the hassle of changes during mergemaster.

How-To-Repeat: n/a
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-11-10 06:34:56 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-rc

Over to maintainer(s).
Comment 2 Petr Fischer 2016-04-19 02:12:45 UTC
+1 - nice to have - base rc scripts has "rc.local" and "rc.shutdown.local" - it's not very practical to edit system rc.resume and rc.suspend scripts IMHO
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:43:11 UTC
batch change:

For bugs that match the following
-  Status Is In progress 
AND
- Untouched since 2018-01-01.
AND
- Affects Base System OR Documentation

DO:

Reset to open status.


Note:
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.