Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 20:57:38 GMT
From:      John Vinopal <banshee@abattoir.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/92642: sample nut.sh for ports NUT has misleading variable name
Message-ID:  <200601312057.k0VKvcbK063100@www.freebsd.org>
Resent-Message-ID: <200601312100.k0VL0DAe086804@freefall.freebsd.org>

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

>Number:         92642
>Category:       ports
>Synopsis:       sample nut.sh for ports NUT has misleading variable name
>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:   Tue Jan 31 21:00:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     John Vinopal
>Release:        6.0
>Organization:
>Environment:
FreeBSD gabriella.abattoir.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sun Jan 29 12:51:00 PST 2006     root@dummy.abattoir.com:/usr/src/sys/i386/compile/GABFW  i386
           
>Description:
In /usr/ports/sysutil/nut/files there is nut.sh.sample v1.5     

This shows that you might create an rc.conf variable:

nut_upslogmail=${nut_upslogmail-"backups@localhost"}

However this is misleading because this _IS NOT_ an email address.  It is a ups identifier (ie: myups@localhost, massiveapc@someotherhost).  The variable name should probably be changed (nut_upslogups ?) and at the least, "backups@localhost" changed to "myups@localhost" to match the nut examples.
  
>How-To-Repeat:
              
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:



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