diff options
author | Bill Fumerola <billf@FreeBSD.org> | 1998-11-24 22:43:40 +0000 |
---|---|---|
committer | Bill Fumerola <billf@FreeBSD.org> | 1998-11-24 22:43:40 +0000 |
commit | 4a23f30b9f6bf28846683644707c6c6415bef4f4 (patch) | |
tree | bcbb1d124acc6f37f34c8e50917b3affdcf8a139 /sysutils/upsmon/files/upsmon.sh | |
parent | Add in one more part. (diff) |
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.
Diffstat (limited to 'sysutils/upsmon/files/upsmon.sh')
-rw-r--r-- | sysutils/upsmon/files/upsmon.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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 |