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 mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-10 05:00 UTC by J.R. Oldroyd
Modified: 2018-05-28 19:43 UTC (History)
1 user (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.