| #
247503fe |
| 30-Sep-2026 |
John Baldwin <jhb@FreeBSD.org> |
apmd: Retire the APM daemon
The original purpose of this daemon was to route power management requests to userspace, e.g. when the suspend button was pressed, the APM driver posted an event read by
apmd: Retire the APM daemon
The original purpose of this daemon was to route power management requests to userspace, e.g. when the suspend button was pressed, the APM driver posted an event read by apmd(8) that would invoke zzz(8) to suspend. However, on ACPI systems this is handled by devd(8) events instead and running apmd(8) in addition just adds extra complexity. This probably should have been axed when the APM BIOS support was retired in commit 8c576a279ed5.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D59937
show more ...
|
| #
2cf8ef59 |
| 23-May-2023 |
Johannes Totz <jo@bruelltuete.com> |
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-
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
show more ...
|
| #
0696600c |
| 17-Oct-2018 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Move the rc framework out of sbin/init into libexec/rc.
The reasons for this are forward looking to pkgbase: * /sbin/init is a special binary; try not to replace it with every package update bec
Move the rc framework out of sbin/init into libexec/rc.
The reasons for this are forward looking to pkgbase: * /sbin/init is a special binary; try not to replace it with every package update because an rc script was touched. (a follow-up commit will make init its own package) * having rc in its own place will allow more easy replacement of the rc framework with alternatives, such as openrc.
Discussed with: brd (during BSDCam), kmoore Requested by: cem, bz PR: 231522 Approved by: re (gjb)
show more ...
|