HomeFreeBSD

rc.suspend: execute rc-scripts with suspend keyword

Description

rc.suspend: execute rc-scripts with suspend keyword

For symmetry with rc.resume, give rc.suspend the ability to execute
rc-scripts. Use the suspend keyword for that.

Use-case is for setting a wake-up time, e.g. via efiwake.

Reviewed by: christos
Approved by: markj (mentor)
Differential Revision: https://reviews.freebsd.org/D39965

Details

Provenance
jo_bruelltuete.comAuthored on May 23 2023, 3:11 PM
christosCommitted on May 23 2023, 3:11 PM
Reviewer
christos
Differential Revision
D39965: rc.suspend: execute rc-scripts with suspend keyword
Parents
rG98ab9802affe: dtrace: rename rp to frame in dtrace_getreg()
Branches
Unknown
Tags
Unknown