include conf files for unbound via glob
Change-Id: I27af4b501add096d9983932b95fcb3c8557155d4
This commit is contained in:
parent
d56566e6c8
commit
34725b45a6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user