diff options
author | Cy Schubert <cy@FreeBSD.org> | 2022-01-14 15:07:26 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2022-01-14 15:57:15 +0000 |
commit | 3920c5dda033a80a1bd0776bddac292d65d8cac2 (patch) | |
tree | 291697f1902ba818b963cba775ab5ce4512b34dd | |
parent | dccdc0b104ffee562d479b6d35eb4928157ac138 (diff) | |
download | ports-3920c5dda033a80a1bd0776bddac292d65d8cac2.tar.gz ports-3920c5dda033a80a1bd0776bddac292d65d8cac2.zip |
sysutils/am-utils: Default amd_enable
Fix WARNING: $amd_enable is not set properly
PR: 261193
Reported by: Graham Perrin <grahamperrin@gmail.com>
MFH: 2022Q1
-rw-r--r-- | sysutils/am-utils/Makefile | 2 | ||||
-rw-r--r-- | sysutils/am-utils/files/amd.in | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/am-utils/Makefile b/sysutils/am-utils/Makefile index ef0ec8839b8d..090525c7864f 100644 --- a/sysutils/am-utils/Makefile +++ b/sysutils/am-utils/Makefile @@ -2,7 +2,7 @@ PORTNAME= am-utils PORTVERSION= 6.2 -PORTREVISION= 9 +PORTREVISION= 10 PORTEPOCH= 1 CATEGORIES= sysutils net MASTER_SITES= ftp://ftp.am-utils.org/pub/am-utils/ \ diff --git a/sysutils/am-utils/files/amd.in b/sysutils/am-utils/files/amd.in index 025aa012eed8..25c3a8cbbda0 100644 --- a/sysutils/am-utils/files/amd.in +++ b/sysutils/am-utils/files/amd.in @@ -7,6 +7,8 @@ # BEFORE: DAEMON # KEYWORD: nojail shutdown +amd_enable=${nut_enable:-"NO"} + . /etc/rc.subr name="amd" |