From: rmurray <> Date: Thu, 8 Aug 2002 17:17:53 +0000 (+0000) Subject: work with bind9 and bind X-Git-Tag: debian_userdir-ldap_0-3-7~81 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;ds=sidebyside;h=cadcc13dbbda6358ecaec7ee8ca90e03651bf426;p=mirror%2Fuserdir-ldap.git work with bind9 and bind --- diff --git a/debian/changelog b/debian/changelog index 1d7b5dc..49c94ee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +userdir-ldap (0.3.2) unstable; urgency=low + + * Seperation of bsmtp and zoneupdate + + -- Ryan Murray Thu, 8 Aug 2002 12:07:00 -0700 + userdir-ldap (0.3.1) unstable; urgency=low * Add ud-zoneupdate from klecker's /usr/local/bin diff --git a/ud-zoneupdate b/ud-zoneupdate index db37190..8571822 100755 --- a/ud-zoneupdate +++ b/ud-zoneupdate @@ -3,4 +3,8 @@ set -e sed -e "s/[1-9].*; Serial.*$/`date +%Y%m%d%H` ; Serial/" < $1 > $1.new mv -f $1.new $1 -/usr/sbin/ndc reload > /dev/null 2>&1 +if [ -e /etc/init.d/bind9 ]; then + /etc/init.d/bind9 reload > /dev/null 2>&1 +else + /etc/init.d/bind reload > /dev/null 2>&1 +fi