#!/bin/sh

set -e

killconf() {
	for i in apache apache-ssl apache-perl; do
		if [ -e /etc/$i/httpd.conf ]; then
			modules-config $i disable mod_iptos quiet
		fi
	done
}

case "$1" in
  remove)
	killconf
	;;
  upgrade | deconfigure | failed-upgrade)
	:
	;;
  *) echo "$0: didn't understand being called with \`$1'" 1>&2
     exit 1;;
esac

#DEBHELPER#

exit 0
