]> git.ipfire.org Git - thirdparty/pdns.git/blob - pdns/debian/postinst
Initial revision
[thirdparty/pdns.git] / pdns / debian / postinst
1 #!/bin/sh
2
3 set -e
4
5 if [ "$1" != "configure" ] ; then
6 exit 0
7 fi
8
9 update-rc.d pdns defaults > /dev/null
10
11 if [ -n "$2" ] ; then
12 /etc/init.d/pdns restart
13 else
14 /etc/init.d/pdns start
15 fi
16
17 exit 0
18