#!/bin/sh # # /etc/rc.d/pmud: start/stop pmu daemon # OPTIONS= case $1 in start) /usr/sbin/pmud $OPTIONS >/dev/null ;; stop) killall -q /usr/sbin/pmud ;; restart) $0 stop sleep 2 $0 start ;; *) echo "usage: $0 [start|stop|restart]" ;; esac # End of file