Skip to content
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

[PR #7102/55cfd27b backport][stable-7] freebsd: shutdown -p ... on freebsd to power off machine #7112

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Aug 14, 2023

This is a backport of PR #7102 as merged into main (55cfd27).

  • Use shutdown -p ... on FreeBSD such that the machine is halted and
    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
  • Bugfix Pull Request
COMPONENT NAME

community.general.shutdown

ADDITIONAL INFORMATION

* 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)
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added action action plugin backport bug This issue/PR relates to a bug integration tests/integration new_contributor Help guide this first time contributor plugins plugin (any type) tests tests labels Aug 14, 2023
@felixfontein felixfontein merged commit d4eaef2 into stable-7 Aug 14, 2023
144 checks passed
@felixfontein felixfontein deleted the patchback/backports/stable-7/55cfd27be99e0b3fe2d324d156445a19d8ad91e7/pr-7102 branch August 14, 2023 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action action plugin bug This issue/PR relates to a bug integration tests/integration new_contributor Help guide this first time contributor plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants