diff --git a/unbound.sh b/unbound.sh index 4203d8b..56cc301 100755 --- a/unbound.sh +++ b/unbound.sh @@ -27,7 +27,7 @@ sed \ -e "s/@RR_CACHE_SIZE@/${rr_cache_size}/" \ -e "s/@THREADS@/${threads}/" \ -e "s#@ZONES_DIR@#${ZONES_DIR}#" \ - > /opt/unbound/etc/unbound/unbound.conf << EOT + >/opt/unbound/etc/unbound/unbound.conf < /dev/null || : + /opt/unbound/sbin/unbound-control-setup 2>/dev/null || : fi mkdir -p /opt/unbound/etc/unbound/zones