ports/93862: [patch] minor error in ports/sysutils/apcupsd/files/apcupsd.sh.sample
Eugene Grosbein
eugen at grosbein.pp.ru
Sun Feb 26 17:30:14 UTC 2006
>Number: 93862
>Category: ports
>Synopsis: [patch] minor error in ports/sysutils/apcupsd/files/apcupsd.sh.sample
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 26 17:30:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Eugene Grosbein
>Release: FreeBSD 4.11-STABLE i386
>Organization:
Svyaz-Service JSC
>Environment:
System: FreeBSD grosbein.pp.ru 4.11-STABLE FreeBSD 4.11-STABLE #0: Sun Feb 26 21:18:47 KRAT 2006 eu at grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV i386
>Description:
There is small literal error in the file
ports/sysutils/apcupsd/files/apcupsd.sh.sample
that leads to wrong processing of "apcupsd_lockfile"
parameter from /etc/rc.conf
>How-To-Repeat:
Just look at the patch
>Fix:
--- apcupsd.sh.sample.orig Mon Feb 27 00:22:40 2006
+++ apcupsd.sh.sample Mon Feb 27 00:22:51 2006
@@ -19,7 +19,7 @@
apcupsd_program=${apcupsd_program:-${PREFIX}/sbin/apcupsd}
apcupsd_flags=${apcupsd_flags:-"--kill-on-powerfail"}
apcupsd_pidfile=${apcupsd_pidfile:-/var/run/apcupsd.pid}
-apcupsd_lockfile=${apcupsd_pidfile:-/var/spool/lock/apcupsd.lock}
+apcupsd_lockfile=${apcupsd_lockfile:-/var/spool/lock/apcupsd.lock}
case $1 in
start)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list