X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=49b83ca8b69ff56e942a98daf5939b832f0d54ad;hb=090c1bf5d3ed4ab16c1b9d57f984402812f2a3f5;hp=567dedf913b85f5c9a41b079c3dde4331d2498f5;hpb=17c32ff7c315038d9b0118f6c314c397196a9050;p=bind9-cn.git diff --git a/debian/postinst b/debian/postinst index 567dedf..49b83ca 100755 --- a/debian/postinst +++ b/debian/postinst @@ -150,17 +150,30 @@ nameserver 161.53.2.70 EOF # check if named.conf has lame server logging -if [ -e /etc/bind/named.conf.options ]; then - lameconf=$(awk '/^logging/,/^}/ { if ($0 ~ /category lame-servers/) { print "yes"; exit } }' /etc/bind/named.conf) - if [ "x$lameconf" != "xyes" ]; then - cp /etc/bind/named.conf.options /etc/bind/named.conf.options.$$ - cp-update bind9-cn /etc/bind/named.conf.options.$$ <