#!/bin/sh -e
#
# Debian package prerm
# Version 1.2
#
# Robert Leslie <rob@mars.org>

case "$1" in
    remove|upgrade|deconfigure)
	/etc/init.d/bind stop
    ;;

    failed-upgrade)
    ;;

    *)
	echo "prerm called with unknown argument \`$1'" >&2
	exit 0
    ;;
esac

exit 0
