Split unbound and resolver: use resolver in TP3

This commit is contained in:
nemunaire 2022-02-23 16:38:15 +01:00
commit 7dfb50e357
6 changed files with 41 additions and 9 deletions

View file

@ -0,0 +1,13 @@
#!/bin/sh
set -e
if [ `which unbound-$1 2>/dev/null` ]; then
set -- unbound-"$@"
elif [ ! `which $1 2>/dev/null` ]; then
set -- unbound -dv "$@"
fi
unbound-anchor
exec "$@"