ud-mailgate: remove exception for münchen.debian.net
[mirror/userdir-ldap.git] / ud-zoneupdate
1 #!/bin/sh
2 set -e
3
4 sed -e "s/[1-9].*; Serial.*$/`date +%Y%m%d%H` ; Serial/" < $1 > $1.new
5 mv -f $1.new $1
6 if [ -e /etc/init.d/bind9 ]; then
7         /etc/init.d/bind9 reload > /dev/null 2>&1
8 else
9         /etc/init.d/bind reload > /dev/null 2>&1
10 fi