Avoid $nut_upsshut is not set properly messages by defining a default.
MFH: 2018Q3 Suggested by: Dan Mahoney <dmahoney@isc.org>
This commit is contained in:
parent
83a6801247
commit
26403766d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=476960
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= nut
|
||||
PORTVERSION= 2.7.4
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
|
||||
|
@ -17,6 +17,7 @@
|
||||
#
|
||||
nut_enable=${nut_enable:-"NO"}
|
||||
nut_prefix=${nut_prefix:-"%%PREFIX%%"}
|
||||
nut_upsshut=${nut_upsshut:-"NO"}
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user