Skip to content

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

@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

@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__.

@lars18th
Copy link

lars18th commented Feb 3, 2025

Why this is not alrady merged?

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()

5 participants