ports/sysutils/nut/patches/patch-conf_ups_conf_sample

44 lines
1.3 KiB
Text

Index: conf/ups.conf.sample
--- conf/ups.conf.sample.orig
+++ conf/ups.conf.sample
@@ -127,7 +127,7 @@ maxretry = 3
# 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
@@ -181,11 +181,11 @@ maxretry = 3
# --------
#
# 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
@@ -200,3 +200,17 @@ maxretry = 3
#
# To find out if your driver supports any extra settings, start it with
# the -h option and/or read the driver's documentation.
+#
+# [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"
+#