#!/bin/sh

# Postrm for pppconfig by John Hasler Wed June 30 1999.
# You may treat this program as if it was in the public domain.

set -e
# postrm for pppconfig John Hasler Sun Jun 27 16:41:54 CDT 1999
if [ "$1" = "purge" ] ; then
        rm -rf /var/lib/pppconfig
	rm -rf /etc/ppp/resolv
	rm -rf /etc/ppp/ip-up.d/0dns-up
	rm -rf /etc/ppp/ip-down.d/0dns-down
        rm -rf /etc/init.d/dns-clean
        update-rc.d dns-clean remove > /dev/null
fi
if [ -x /usr/bin/update-menus ] ; then
        /usr/bin/update-menus
fi
exit 0
