blob: 765fa87b55c1895088ecda368ee100d9037fab89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
$NetBSD: patch-ak,v 1.1 2002/12/01 22:32:28 bouyer Exp $
--- examples/apcupsd.slave.conf.orig Sun Dec 1 13:18:09 2002
+++ examples/apcupsd.slave.conf Sun Dec 1 13:21:27 2002
@@ -33,11 +33,11 @@
#
#DEVICE <string> /dev/<serial port>
# name of your serial port
-DEVICE /dev/ttyS0
+DEVICE /dev/tty01
#
#LOCKFILE <path to lockfile>
# path for serial port lock file
-LOCKFILE /var/lock
+LOCKFILE /var/spool/lock
#
#
#
@@ -91,7 +91,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 /etc/apcupsd/apcupsd.events
+EVENTSFILE /var/log/apcupsd.events
#
#
#
@@ -102,7 +102,7 @@
STATTIME 0
#
# STATFILE
-STATFILE /etc/apcupsd/apcupsd.status
+STATFILE /var/run/apcupsd.status
#
#
# LOGSTATS [ on | off ] on enables, off disables
|