31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
$NetBSD: patch-ab,v 1.6 2007/06/15 21:15:39 bouyer Exp $
|
|
|
|
--- platforms/etc/apcupsd.conf.in.orig 2007-06-15 22:21:18.000000000 +0200
|
|
+++ platforms/etc/apcupsd.conf.in 2007-06-15 22:28:16.000000000 +0200
|
|
@@ -180,7 +180,7 @@
|
|
# NIS will listen for connections only on that interface. Use the
|
|
# loopback address (127.0.0.1) to accept connections only from the
|
|
# local machine.
|
|
-NISIP @NISIP@
|
|
+NISIP 127.0.0.1
|
|
|
|
# NISPORT <port> default is 3551 as registered with the IANA
|
|
# port to use for sending STATUS and EVENTS data over the network.
|
|
@@ -191,7 +191,7 @@
|
|
|
|
# If you want the last few EVENTS to be available over the network
|
|
# by the network information server, you must define an EVENTSFILE.
|
|
-EVENTSFILE @LOGDIR@/apcupsd.events
|
|
+EVENTSFILE /var/db/apcupsd.events
|
|
|
|
# EVENTSFILEMAX <kilobytes>
|
|
# By default, the size of the EVENTSFILE will be not be allowed to exceed
|
|
@@ -231,7 +231,7 @@
|
|
STATTIME 0
|
|
|
|
# Location of STATUS file (written to only if STATTIME is non-zero)
|
|
-STATFILE @LOGDIR@/apcupsd.status
|
|
+STATFILE /var/run/apcupsd.status
|
|
|
|
# LOGSTATS [ on | off ] on enables, off disables
|
|
# Note! This generates a lot of output, so if
|