include conf files for unbound via glob

Change-Id: I27af4b501add096d9983932b95fcb3c8557155d4
This commit is contained in:
Matthew Thode 2018-09-17 13:27:43 -05:00
parent d56566e6c8
commit 34725b45a6
No known key found for this signature in database
GPG Key ID: 64A37BEAAE19A4E8
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ if [[ "$DISTRO_NAME" =~ (centos|rhel7|fedora|opensuse) ]] ; then
elif [[ "$DISTRO_NAME" =~ 'gentoo' ]] ; then
UNBOUND_CONFD=/etc/unbound/conf.d
mkdir -p $UNBOUND_CONFD
echo "include: \"$UNBOUND_CONFD\"" >> /etc/unbound/unbound.conf
echo "include: \"$UNBOUND_CONFD/*.conf\"" >> /etc/unbound/unbound.conf
else
UNBOUND_CONFD=/etc/unbound/unbound.conf.d
fi