Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Oct 1999 19:49:21 +0100 (BST)
From:      eoin@maths.tcd.ie
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14090: typo in rc.d startup script for upsmon
Message-ID:  <199910021949.aa65692@gosset.maths.tcd.ie>

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

>Number:         14090
>Category:       ports
>Synopsis:       typo in rc.d startup script for upsmon
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct  2 11:50:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Eoin Lawless
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
School of Mathematics, Trinity College Dublin
>Environment:

	

>Description:

	In the startup script for upsmon, a test is made for the non-existant
    /usr/local/sbin/upsmon rather than for /usr/local/sbin/upsmond

>How-To-Repeat:

	

>Fix:
	
Change the upsmon.sh script in the files subdir	

--- sysutils/upsmon/files/upsmon.sh.orig	Sat Oct  2 19:40:05 1999
+++ sysutils/upsmon/files/upsmon.sh	Sat Oct  2 19:40:27 1999
@@ -2,6 +2,6 @@
 
 # see !!PREFIX!!/share/doc/upsmon/INSTALL for command line option details
 
-if [ -x !!PREFIX!!/sbin/upsmon ]; then
+if [ -x !!PREFIX!!/sbin/upsmond ]; then
 	!!PREFIX!!/sbin/upsmond -p /dev/cuaa0 && echo -n ' upsmond'
 fi

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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