script='/^logging/,/^}/ { if ($0 ~ /category lame-servers/) { print "yes"; exit } }'
lameconf=
if [ -e /etc/bind/named.conf.options -a -e /etc/bind/named.conf ]; then
- lameconf=$(cat /etc/bind/named.conf /etc/bind/named.conf.options | awk $script)
+ lameconf=$(cat /etc/bind/named.conf /etc/bind/named.conf.options | awk "$script")
else
if [ -e /etc/bind/named.conf ]; then
- lameconf=$(awk $script /etc/bind/named.conf)
+ lameconf=$(awk "$script" /etc/bind/named.conf)
fi
fi
if [ "x$lameconf" != "xyes" ]; then