From: Roy Marples Date: Fri, 16 Nov 2007 10:41:35 +0000 (+0000) Subject: Gentoo installed bind into /etc/bind, we should try and support this X-Git-Tag: openresolv-1.9~65 X-Git-Url: https://roy.marples.name/git?ds=sidebyside Gentoo installed bind into /etc/bind, we should try and support this --- 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"