pkgsrc/sysutils/apcupsd/patches/patch-ah

75 lines
2.3 KiB
Text

$NetBSD: patch-ah,v 1.1.1.1 2000/01/21 19:16:00 bouyer Exp $
--- docs/apcupsd.man8.orig Wed Apr 7 18:06:41 1999
+++ docs/apcupsd.man8 Tue Jul 20 19:27:28 1999
@@ -8,13 +8,13 @@
.SH NAME
apcupsd \- daemon for Most APCC's UPS support under Linux and UNIX
.SH SYNOPSIS
-.B /sbin/apcupsd
+.B @@PREFIX@@/sbin/apcupsd
.br
-.B /sbin/powersc
+.B @@PREFIX@@/sbin/powersc
.br
.B /etc/apcupsd.conf
.br
-.B /sbin/apcaccess
+.B @@PREFIX@@/bin/apcaccess
.SH DESCRIPTION
.LP
This daemon can be used for controlling the APC SmartUPS. During a power
@@ -23,7 +23,7 @@
about this fact. If power is not restored, a system shutdown will follow
when the battery is exausted, a timeout (seconds) expires, or runtime
minutes based on internal values based on power consumption rates. The
-whole shutdown is now made by script calls to the "/sbin/powersc"
+whole shutdown is now made by script calls to the "@@PREFIX@@/sbin/powersc"
file called by "apcupsd", so no changes in the inittab are necessary.
There is now no communication between "apcupsd" and init(1) process.
.LP
@@ -46,7 +46,7 @@
.SH CONFIGURATION
It is necessary to write configuration info to the file "/etc/apcupsd.conf".
This file is a plain ASCII file and you can use your favorite editor for
-configuration. For simple configuration, see enclosed sample file.
+configuration. For simple configuration, see sample file in @@PREFIX@@/etc
.LP
Configuration commands in
.B /etc/apcupsd.conf
@@ -54,7 +54,7 @@
.LP
.B CONTROL
-- <path|filename>
-.B /sbin/powersc
+.B @@PREFIX@@/sbin/powersc
.br
Name of control script called by "apcupsd".
.LP
@@ -123,7 +123,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>
@@ -165,7 +165,7 @@
-- <time in seconds>
.br
Please specify time in seconds for "apcupsd" to update the psuedo
-proc fs file "/etc/apcupsd.status". This rate is reset if there is
+proc fs file "/var/log/apcupsd.status". This rate is reset if there is
a power state change.
.LP
This will be replaced with "apcaccess 'status'" calls. This will prevent
@@ -478,7 +478,7 @@
.B /etc/apcupsd.conf
- configuration file.
.br
-.B /etc/apcupsd.status
+.B /var/log/apcupsd.status
- psuedo procfs-type file.
.br
.B /var/log/apcupsd.log