#! /bin/sh
# Postinst for pppstatus by John Hasler 2002.
# You may treat this program as if it was in the public domain.

if [ "$1" = "configure" ] && [ -x /usr/bin/update-menus ]; then update-menus ; fi
if [ -x "/etc/init.d/pppstatus" ]; then
	update-rc.d pppstatus defaults >/dev/null
	if [ -x /usr/sbin/invoke-rc.d ]; then
		invoke-rc.d pppstatus start
	else
		/etc/init.d/pppstatus start
	fi
fi
if [ -x "/etc/init.d/pppstatus-clean" ]; then
    update-rc.d pppstatus-clean start 39 S . >/dev/null
fi
exit 0
