Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2006 00:25:47 +0700 (KRAT)
From:      Eugene Grosbein <eugen@grosbein.pp.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/93862: [patch] minor error in ports/sysutils/apcupsd/files/apcupsd.sh.sample
Message-ID:  <200602261725.k1QHPl48000736@grosbein.pp.ru>
Resent-Message-ID: <200602261730.k1QHUCHA083919@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602261725.k1QHPl48000736>