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
37
38
39
|
$NetBSD: patch-ab,v 1.2 2000/08/05 07:31:18 jlam Exp $
--- examples/apcupsd.conf.orig Wed May 26 12:22:25 1999
+++ examples/apcupsd.conf Sat Aug 5 02:52:40 2000
@@ -3,7 +3,7 @@
# "apcupsd" POSIX config file
#
# CONTROL <string>
-CONTROL /sbin/powersc
+CONTROL @@PREFIX@@/sbin/powersc
#
# UPSCABLE [ simple | smart |
# 940-00(20B,23A,24B,24C,24G,95A,95C) |
@@ -26,10 +26,10 @@
UPSMODE disable
#
#DEVICE <string> /dev/<serial port>
-DEVICE /dev/ttyS0
+DEVICE /dev/tty01
#
#LOCKFILE <path to lockfile>
-LOCKFILE /var/lock
+LOCKFILE /var/spool/lock
#
#ACCESS <string> [ true | false ] Enable Access Support
ACCESS true
@@ -44,10 +44,10 @@
NOLOGON timeout
#
# PROCFS <int> <120> <0> disables <update rate procfs-type of current status>
-PROCFS 0
+PROCFS 60
#
# LOGGING <int> <500> <0> disables <rate update log file of current status>
-LOGGING 0
+LOGGING 60
#
# TIMEOUT <time is seconds to run on UPS, powerfails>
TIMEOUT 900
|