ubuntu-buildroot/package/openvmtools/shutdown

8 lines
110 B
Bash

#!/bin/sh
#compatibility script for openvmtools
if [ "$1" == "-r" ]; then
/sbin/reboot
else
/sbin/poweroff
fi