summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd/patches/patch-aa
blob: 6d29b2e23022c52aae56cb19962d7dbdcc13fda3 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
$NetBSD: patch-aa,v 1.3 2002/12/01 22:32:26 bouyer Exp $

--- doc/apcupsd.man.orig	Fri Feb  2 23:46:33 2001
+++ doc/apcupsd.man	Sun Dec  1 13:13:59 2002
@@ -4,19 +4,19 @@
 .\" LP paragraph
 .\" IP indented paragraph
 .\" TP hanging label
-.TH apcupsd 8 "APC UPS management under Linux -- November 1999"
+.TH apcupsd 8 "APC UPS management under Unix -- November 1999"
 .SH NAME
-apcupsd \- daemon for most APC's UPS for Linux
+apcupsd \- daemon for most APC's UPS for Unix
 .SH SYNOPSIS
-.B /sbin/apcupsd 
+.B @@PREFIX@@/sbin/apcupsd 
 .br
-.B /etc/apcupsd/apccontrol
+.B @@SYSCONFDIR@@/apccontrol
 .br
-.B /etc/apcupsd/apcupsd.conf
+.B @@SYSCONFDIR@@/apcupsd.conf
 .br
-.B /sbin/apcaccess
+.B @@PREFIX@@/sbin/apcaccess
 .br
-.B /sbin/apcnetd
+.B @@PREFIX@@/sbin/apcnetd
 .br
 .SH DESCRIPTION
 .LP
@@ -29,7 +29,7 @@
 above shutdown conditions is met, "apcupsd" will inform users about this
 fact.
 
-The shutdown is made by script calls to "/etc/apcupsd/apccontrol", which
+The shutdown is made by script calls to "@@SYSCONFDIR@@/apccontrol", which
 is called by "apcupsd". Consequently, no changes to /etc/inittab are necessary.
 There is no communication between "apcupsd" and init(1) process.
 Apcupsd modifies the halt script so that at the end of the shutdown
@@ -50,22 +50,18 @@
 has a network connection with the slaves and sends them information
 about the UPS status.
 
-.LP
-RedHat and S.u.S.E. versions of Linux have direct install support.  All
-other "FLAVORS" of Linux will need some fussing with to get the install
-correct.
 .SH OPTIONS
 .TP
 .B \-c --configure
 Attempts to configure the UPS EPROM to the values specified in the
-configuration file "/etc/apcupsd/apcupsd.conf".
+configuration file "@@SYSCONFDIR@@/apcupsd.conf".
 .TP
 .B \-d --debug <level>
 Turns on debugging output for a NETSLAVE or a NETMASTER.
 .TP
 .B \-f --config-file <file>
 Specifies the location of the configuration file.  The default
-is: /etc/apcupsd/apcupsd.conf
+is: @@SYSCONFDIR@@/apcupsd.conf
 .TP
 .B \-k --killpower
 Attempt to turn the UPS off. This option is normally only
@@ -74,7 +70,7 @@
 .TP
 .B \-n --rename-ups
 Attempts to change the UPS name stored in the UPS EPROM
-to that specified in your "/etc/apcupsd/apcupsd.conf" file.
+to that specified in your "@@SYSCONFDIR@@/apcupsd.conf" file.
 .TP
 .B \-u --update-battery-date
 Attempts to update the battery date stored in the UPS EPROM. Normally
@@ -88,12 +84,12 @@
 
 .SH CONFIGURATION
 It may be necessary to change the configuration information in the file
-"/etc/apcupsd/apcupsd.conf" to meet your needs and to correspond to your
+"@@SYSCONFDIR@@/apcupsd.conf" to meet your needs and to correspond to your
 configuration.  This file is a plain ASCII file and you can use your
 favorite editor to change it. 
 .LP 
 Configuration commands in 
-.B /etc/apcupsd/apcupsd.conf
+.B @@SYSCONFDIR@@/apcupsd.conf
 are:
 
 .LP
@@ -131,7 +127,7 @@
 -- <name of serial port>
 .br
 Please specify which device is used for UPS communication.
-The default is /dev/ttyS[0|1|2|3].
+The default is /dev/tty0[0|1|2|3].
 .LP
 .B  LOCKFILE
 -- <path to lockfile>
@@ -615,13 +611,13 @@
 .br
 940-0023A     Simple Signal UNIX, [BROKEN STILL].
 .SH FILES
-.B /etc/apcupsd/apcupsd.conf
+.B @@SYSCONFDIR@@/apcupsd.conf
 - configuration file.
 .br
-.B /etc/apcupsd/apcupsd.status
+.B /var/run/apcupsd.status
 - STATUS file
 .br
-.B /etc/apcupsd/apcupsd.events
+.B /var/log/apcupsd.events
 - where up to the last 50 events are stored
 for the network information server.
 .SH EVENTS
@@ -630,8 +626,8 @@
 ...
 
 These events are sent to the system log, optionally sent
-to the temporary events file (/etc/apcupsd/apcupsd.events),
-and they also generate a call to /etc/apcupsd/apccontrol
+to the temporary events file (/var/run/apcupsd.events),
+and they also generate a call to @@SYSCONFDIR@@/apccontrol
 which in turn will call any scripts you have placed in the
 /etc/apcupsd directory.