#! /bin/sh
if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
if [ "$1" = "purge" ] ; then
	update-rc.d pppstatus remove >/dev/null
	update-rc.d pppstatus-clean remove >/dev/null
	rm -rf /etc/pppstatus
        rm -rf /etc/ppp/ip-up.d/pppstatus
        rm -rf /etc/ppp/ip-down.d/pppstatus

fi
rm -rf /var/run/ppp[0-9]-up /var/run/ppp[1-9][0-9]-up
