-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
freebsd: shutdown -p ... on freebsd to power off machine #7102
freebsd: shutdown -p ... on freebsd to power off machine #7102
Conversation
ae8adc9
to
18122ed
Compare
* Use shutdown -p ... on FreeBSD such that the machine is halted and powered off (-p) otherwise the machine is halted (-h) but remains on.
18122ed
to
b5f7b21
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
(The CI errors are unrelated.) |
Co-authored-by: Felix Fontein <felix@fontein.de>
I'll merge this tomorrow if nobody objects. |
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #7112 🤖 @patchback |
* freebsd: shutdown -p ... on freebsd to power off machine * Use shutdown -p ... on FreeBSD such that the machine is halted and powered off (-p) otherwise the machine is halted (-h) but remains on. * Update changelogs/fragments/7102-freebsd-shutdown-p.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 55cfd27)
@derekschrock thanks for your contribution! |
…eebsd to power off machine (#7112) freebsd: shutdown -p ... on freebsd to power off machine (#7102) * freebsd: shutdown -p ... on freebsd to power off machine * Use shutdown -p ... on FreeBSD such that the machine is halted and powered off (-p) otherwise the machine is halted (-h) but remains on. * Update changelogs/fragments/7102-freebsd-shutdown-p.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 55cfd27) Co-authored-by: Derek Schrock <dereks@lifeofadishwasher.com>
powered off (-p) otherwise the machine is halted (-h) but remains on.
SUMMARY
To follow suit with the other shutdown commands that also power off the machine freebsd shutdown should also power off the machine. In that case -p should be used that will halt and power off vs -h that will just halt the machine leave it powered on with a prompt to power off and/or any key to reboot.
ISSUE TYPE
COMPONENT NAME
community.general.shutdown
ADDITIONAL INFORMATION