unbound: change working directory before check. closes https://github.com/opnsense/core/issues/6171

This commit is contained in:
Ad Schellevis 2022-12-05 11:42:53 +01:00
parent 623b2643e6
commit 13ea70af04

View File

@ -27,5 +27,6 @@
set -e
cd /var/unbound/
/usr/local/sbin/unbound-checkconf /var/unbound/unbound.conf 2>&1 | \
sed -e 's/^unbound-checkconf:[[:space:]]//g'