openbsd-ports/sysutils/nut/pkg/upsmon.rc
sthen 8103eadcb9 update to NUT 2.6.2 and add rc.d scripts
- thanks ajacoutot@ for looking over the scripts

- note that there has been some major work on apcsmart; in the event
of problems the old driver is still available as apcsmart-old
2011-09-19 15:59:57 +00:00

18 lines
212 B
Bash

#!/bin/sh
#
# $OpenBSD: upsmon.rc,v 1.1 2011/09/19 15:59:57 sthen Exp $
daemon="${TRUEPREFIX}/sbin/upsmon"
. /etc/rc.d/rc.subr
rc_reload() {
${daemon} -c reload
}
rc_stop() {
${daemon} -c stop
}
rc_cmd $1