$NetBSD: patch-aa,v 1.2 2000/08/05 07:31:17 jlam Exp $ --- doc/apcupsd.man.orig Thu Jul 29 03:46:32 1999 +++ doc/apcupsd.man Sat Aug 5 02:52:40 2000 @@ -8,13 +8,13 @@ .SH NAME apcupsd \- daemon for Most APCC's UPS support under Linux .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 -- -.B /sbin/powersc +.B @@PREFIX@@/sbin/powersc .br Name of control script called by "apcupsd". .LP @@ -121,7 +121,7 @@ -- .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 -- @@ -163,7 +163,7 @@ --