open-vm-tools
open-vm-tools copied to clipboard
Make shutdown/reboot commands configurable
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 https://github.com/vmware/open-vm-tools/issues/235
Signed-off-by: Natanael Copa [email protected]
@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.
@ncopa, VMware has approved your signed contributor license agreement.
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.
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__.
Why this is not alrady merged?