From 39c3209121cc95ebb63d0bf003138ed81473e840 Mon Sep 17 00:00:00 2001 From: cy Date: Sun, 12 Aug 2018 04:24:05 +0000 Subject: Avoid $nut_upsshut is not set properly messages by defining a default. MFH: 2018Q3 Suggested by: Dan Mahoney --- sysutils/nut/Makefile | 2 +- sysutils/nut/files/nut.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'sysutils') diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile index 8446704ee06d..1a58c7019660 100644 --- a/sysutils/nut/Makefile +++ b/sysutils/nut/Makefile @@ -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 diff --git a/sysutils/nut/files/nut.in b/sysutils/nut/files/nut.in index e40f4e859ddf..5b04aaf713ab 100644 --- a/sysutils/nut/files/nut.in +++ b/sysutils/nut/files/nut.in @@ -17,6 +17,7 @@ # nut_enable=${nut_enable:-"NO"} nut_prefix=${nut_prefix:-"%%PREFIX%%"} +nut_upsshut=${nut_upsshut:-"NO"} . /etc/rc.subr -- cgit