summaryrefslogtreecommitdiff
path: root/sysutils/upsmon/files/upsmon.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/upsmon/files/upsmon.sh')
-rw-r--r--sysutils/upsmon/files/upsmon.sh7
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