diff options
author | cy <cy@FreeBSD.org> | 2018-08-12 12:24:05 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2018-08-12 12:24:05 +0800 |
commit | 39c3209121cc95ebb63d0bf003138ed81473e840 (patch) | |
tree | 71170c71f058fac6eb201e275a2615d6c5a1f942 /sysutils | |
parent | 43ee491083f6c0ce5c50e592f7b13252d723dfe1 (diff) | |
download | freebsd-ports-gnome-39c3209121cc95ebb63d0bf003138ed81473e840.tar.gz freebsd-ports-gnome-39c3209121cc95ebb63d0bf003138ed81473e840.tar.zst freebsd-ports-gnome-39c3209121cc95ebb63d0bf003138ed81473e840.zip |
Avoid $nut_upsshut is not set properly messages by defining a default.
MFH: 2018Q3
Suggested by: Dan Mahoney <dmahoney@isc.org>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/nut/Makefile | 2 | ||||
-rw-r--r-- | sysutils/nut/files/nut.in | 1 |
2 files changed, 2 insertions, 1 deletions
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 |