From 4a23f30b9f6bf28846683644707c6c6415bef4f4 Mon Sep 17 00:00:00 2001 From: Bill Fumerola Date: Tue, 24 Nov 1998 22:43:40 +0000 Subject: Initial import of ports/sysutils/upsmon Designed specifically for the APC SmartUPS devices, the software is dependent on the SmartUPS interface and will only function with SmartUPS devices. Essentially, this is a simpler version of upsd. --- sysutils/upsmon/files/upsmon.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sysutils/upsmon/files/upsmon.sh (limited to 'sysutils/upsmon/files/upsmon.sh') diff --git a/sysutils/upsmon/files/upsmon.sh b/sysutils/upsmon/files/upsmon.sh new file mode 100644 index 000000000000..eb59e9acfee5 --- /dev/null +++ b/sysutils/upsmon/files/upsmon.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +# see !!PREFIX!!/share/doc/upsmon/INSTALL for command line option details + +if [ -x !!PREFIX!!/sbin/upsmon ]; then + !!PREFIX!!/sbin/upsmon -p /dev/cuaa0 && echo -n ' upsmond' +fi -- cgit v1.2.3