openbsd-ports/sysutils/nut/patches/patch-conf_ups_conf_sample
sthen 9124dca4c6 - update nut to 2.6.0 (major documentation revamp and support for new
devices, including APC 5G, various Eaton, HP, and Tripp Lite models,
and a number of USB HID devices)

- build the snmp package by default

- use correct user/group names in MESSAGE
2011-03-09 11:00:55 +00:00

52 lines
1.5 KiB
Plaintext

$OpenBSD: patch-conf_ups_conf_sample,v 1.2 2011/03/09 11:00:55 sthen Exp $
--- conf/ups.conf.sample.orig Fri Dec 24 13:23:32 2010
+++ conf/ups.conf.sample Mon Mar 7 11:33:52 2011
@@ -47,7 +47,7 @@
# apcsmart, bestups, and sec are some examples.
#
# port: REQUIRED. The serial port where your UPS is connected.
-# /dev/ttyS0 is usually the first port on Linux boxes, for example.
+# /dev/tty00 is usually the first port on OpenBSD boxes, for example.
#
# sdorder: optional. When you have multiple UPSes on your system, you
# usually need to turn them off in a certain order. upsdrvctl
@@ -83,11 +83,11 @@
# --------
#
# A simple example for a UPS called "powerpal" that uses the blazer_ser
-# driver on /dev/ttyS0 is:
+# driver on /dev/tty00 is:
#
# [powerpal]
# driver = blazer_ser
-# port = /dev/ttyS0
+# port = /dev/tty00
# desc = "Web server"
#
# If your UPS driver requires additional settings, you can specify them
@@ -96,9 +96,23 @@
#
# [myups]
# driver = mydriver
-# port = /dev/ttyS1
+# port = /dev/tty01
# cable = 1234
# desc = "Something descriptive"
#
+# [networkups]
+# driver = snmp-ups
+# port = 192.168.42.240
+# community = mekmitasdigoat
+# desc = "Example APC networked UPS"
+# notransferoids
+# mibs = apcc
+#
+# [usb]
+# driver = usbhid-ups
+# port = auto
+# desc = "Example USB UPS"
+#
# To find out if your driver supports any extra settings, start it with
# the -h option and/or read the driver's documentation.
+