Skip site navigation (1)Skip section navigation (2)
Date:      24 Apr 2006 08:40:29 +1000
From:      Alexander Logvinov <user@blg.akavia.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96240: [update port] sysutils/apcupsd
Message-ID:  <20060423224029.1264.qmail@blg.akavia.ru>
Resent-Message-ID: <200604232250.k3NMoIhg083692@freefall.freebsd.org>

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

>Number:         96240
>Category:       ports
>Synopsis:       [update port] sysutils/apcupsd
>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 Apr 23 22:50:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Logvinov
>Release:        FreeBSD 5.4-RELEASE-p12 i386
>Organization:
>Environment:

>Description:

  Syntax error in apcupsd.sh gives error after executing:

./apcupsd.sh: 28: Syntax error: Bad substitution
	
>How-To-Repeat:

# ./apcupsd.sh start

>Fix:

--- apcupsd.sh.old	Mon Apr 24 08:15:39 2006
+++ apcupsd.sh	Mon Apr 24 08:32:25 2006
@@ -25,7 +25,7 @@
 : ${apcupsd_enable="NO"}
 : ${apcupsd_flags="--kill-on-powerfail"}
 : ${apcupsd_pidfile="/var/run/apcupsd.pid"}
-: ${apcupsd_lockfile"/var/spool/lock/apcupsd.lock"}
+: ${apcupsd_lockfile="/var/spool/lock/apcupsd.lock"}
 
 pidfile="/var/run/apcupsd.pid"
 required_files="/usr/local/etc/apcupsd/apcupsd.conf"
>Release-Note:
>Audit-Trail:
>Unformatted:



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