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:
Cy Schubert 2018-08-12 04:24:05 +00:00
parent 83a6801247
commit 26403766d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=476960
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -17,6 +17,7 @@
#
nut_enable=${nut_enable:-"NO"}
nut_prefix=${nut_prefix:-"%%PREFIX%%"}
nut_upsshut=${nut_upsshut:-"NO"}
. /etc/rc.subr