aboutsummaryrefslogtreecommitdiff
path: root/package/openvmtools/shutdown
blob: bca9765a387ea0dbc239d9998f1c80cc9d96d804 (plain)
1
2
3
4
5
6
7
#!/bin/sh
#compatibility script for openvmtools
if [ "$1" == "-r" ]; then
/sbin/reboot
else
/sbin/poweroff
fi