X-Git-Url: https://roy.marples.name/git diff --git a/named b/named index 842998c..91ebc8c 100755 --- a/named +++ b/named @@ -53,7 +53,8 @@ VARS="$(resolvconf -v)" eval "${VARS}" # If our dir doesn't exist then don't do anything -NAMEDB=${NAMEDB:-/etc/namedb} +NAMEDB=/etc/namedb +[ -d "${NAMEDB}" ] || NAMEDB="/etc/bind" [ -d "${NAMEDB}" ] || exit 0 NAMEDOPTIONS="${NAMEDB}/resolvconf-options.conf"