Bug 140440 - [patch] allow local command files in rc.{suspend,resume}
Summary: [patch] allow local command files in rc.{suspend,resume}
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-rc (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2009-11-10 05:00 UTC by J.R. Oldroyd
Modified: 2022-12-16 19:47 UTC (History)
2 users (show)

See Also:


Attachments
file.diff (754 bytes, patch)
2009-11-10 05:00 UTC, J.R. Oldroyd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 4 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:38:53 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
Comment 5 Mina Galić freebsd_triage 2022-12-16 19:47:24 UTC
does rc.suspend / rc.resume even work these days?
(it certainly doesn't on virtual machines)