include conf files for unbound via glob
@@ -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
