open-vm-tools icon indicating copy to clipboard operation
open-vm-tools copied to clipboard

Make shutdown/reboot commands configurable

Open ncopa opened this issue 4 years ago • 5 comments

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 avatar Nov 17 '21 14:11 ncopa

@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 avatar Nov 17 '21 14:11 vmwclabot

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

vmwclabot avatar Nov 17 '21 16:11 vmwclabot

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.

johnwvmw avatar Nov 18 '21 14:11 johnwvmw

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

andy-js avatar Jan 05 '22 15:01 andy-js

Why this is not alrady merged?

lars18th avatar Feb 03 '25 12:02 lars18th