1#!/bin/sh 2#compatibility script for openvmtools 3if [ "$1" == "-r" ]; then 4/sbin/reboot 5else 6/sbin/poweroff 7fi 8