If a package wants to be run when pppd is on, then include a file "/etc/ppp/scripts.d/<packagename>." In the postinst, run the command ppp-update.d.
And in the prerm, presumably? I like the proposal, by the way. My only possible concern is that it is perhaps a little too complicated, but sometimes that is needed to buy extra flexibility. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]