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

Make shutdown/reboot commands configurable #556

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ncopa
Copy link

@ncopa ncopa commented Nov 17, 2021

Some systems, like Alpine Linux, may not use /sbin/shutdown to power off
or reboot. Add configure option so user can set the correct commands.

Fixes #235

Signed-off-by: Natanael Copa [email protected]

Some systems, like Alpine Linux, may not use /sbin/shutdown to power off
or reboot. Add configure option so user can set the correct commands.

Fixes vmware#235

Signed-off-by: Natanael Copa <[email protected]>
@vmwclabot
Copy link
Member

@ncopa, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction.

@vmwclabot
Copy link
Member

@ncopa, VMware has approved your signed contributor license agreement.

@johnwvmw
Copy link
Contributor

Thanks for officially submitting a pull request for the changes you suggested in issue #235 and signing the contributor license agreement. This pull request has been associated with the internal bug filed for issue #235.

Your contribution will go through a review process at VMware. An update will be provided once the review is completed.

@andy-js
Copy link

andy-js commented Jan 5, 2022

It would be nice if {REBOOT,SHUTDOWN}_COMMAND was set to the correct value based on $os, rather than having to rely on __sun and __FreeBSD__.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support halt/poweroff/reboot binaries for System_Shutdown()
4 participants