Files
linuxkit/pkg/open-vm-tools/scripts/poweroff-vm-default.d/poweroff.sh
2017-09-16 10:39:23 -07:00

5 lines
126 B
Bash
Executable File

#!/bin/sh
# send SIGTERM to the init system (PID 1), which causes a clean VM host-initiated shutdown
kill -s SIGTERM 1
exit 0