14 lines
181 B
Bash
14 lines
181 B
Bash
|
#!/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 "$@"
|