pkg: add Unbound

This commit is contained in:
nemunaire 2018-02-19 21:35:08 +01:00 committed by nemunaire
parent 43d1f56e71
commit 79f135a040
3 changed files with 29 additions and 0 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 "$@"