#!/bin/sh -e

# Benjamin Sonntag <benjamin@alternc.org>

case "$1" in
remove)
    ;;

upgrade)
    ;;

purge)
    # Remove the config file from named.conf
    cat /etc/bind/named.conf | grep -v "include \"/etc/bind/slavedns.conf\";" >/etc/bind/named.conf.purging
    mv -f /etc/bind/named.conf.purging /etc/bind/named.conf
    ;;

failed-upgrade|abort-install|abort-upgrade|disappear)
    ;;

*)
    echo "postrm called with unknown argument '$1'" >&2
    exit 1
    ;;
esac

#DEBHELPER#
