$NetBSD: patch-aa,v 1.4 2006/11/15 21:46:25 bouyer Exp $

--- doc/apcupsd.man.orig	2005-09-13 14:34:36.000000000 +0200
+++ doc/apcupsd.man	2006-11-15 17:30:21.000000000 +0100
@@ -8,15 +8,15 @@
 .SH NAME
 apcupsd \- daemon for most APC's UPS for Linux
 .SH SYNOPSIS
-.B /sbin/apcupsd
+.B @@PREFIX@@/sbin/apcupsd
 .br
-.B /etc/apcupsd/apccontrol
+.B @@SYSCONFDIR@@/apcupsd/apccontrol
 .br
-.B /etc/apcupsd/apcupsd.conf
+.B @@SYSCONFDIR@@/apcupsd/apcupsd.conf
 .br
-.B /sbin/apcaccess
+.B @@PREFIX@@/sbin/apcaccess
 .br
-.B /sbin/apcnetd
+.B @@PREFIX@@/sbin/apcnetd
 .br
 .SH DESCRIPTION
 .LP
@@ -38,7 +38,7 @@
 conditions is met, apcupsd will inform users about this fact.
 
 The shutdown is made by script calls to
-"/etc/apcupsd/apccontrol", which is called by "apcupsd".
+"@@SYSCONFDIR@@/apcupsd/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
@@ -75,7 +75,7 @@
 .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/apcupsd.conf".
 This option is now deprecated (not supported) and should not
 be used. Instead use the apctest program, which has an interactive
 EEPROM configuration.
@@ -85,7 +85,7 @@
 .TP
 .B \-f --config-file <file>
 Specifies the location of the configuration file.  The default
-is: /etc/apcupsd/apcupsd.conf
+is: @@SYSCONFDIR@@/apcupsd/apcupsd.conf
 .TP
 .B \-k --killpower
 Attempt to turn the UPS off. This option is normally only
@@ -100,12 +100,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
@@ -399,7 +399,7 @@
 are disabled or set to default values. Currently, there is not a known
 way for early signals to be sent to BASIC Ports. MINUTES are set to 0.
 .SH FILES
-.B /etc/apcupsd/apcupsd.conf
+.B @@SYSCONFDIR@@/apcupsd/apcupsd.conf
 - configuration file.
 .br
 .B /var/log/apcupsd.status
@@ -415,9 +415,9 @@
 
 These events are sent to the system log, optionally sent
 to the temporary events file (/var/log/apcupsd.events),
-and they also generate a call to /etc/apcupsd/apccontrol
+and they also generate a call to @@SYSCONFDIR@@/apcupsd/apccontrol
 which in turn will call any scripts you have placed in the
-/etc/apcupsd directory.
+@@SYSCONFDIR@@/apcupsd directory.
 
 .SH DATA format
 If the DATATIME configuration command is set nonzero, 
