Re: PPPD: New ip-{up,down} script handling
I am done. It is currently working here.
status_cmd runlevel dir
-------------------------------------------------
pppd_initializing init init.d
pppd_connected cnct cnct.d
pppd_online online online.d
pppd_offline offline offline.d
pppd_disconnected discnct discnct.d
pppd_idle idle idle.d
There is no longer any ip-{up,down} script. Pppd calls
/etc/ppp/ppp-functions <status-cmd> <iface> <tty> <etc...>
Ppp-functions then sets up the exported variables PPP_IFACE, etc., and then
calls "rc <runlevel>". Ppp-update.d is modified to support all runlevel dirs.
The default links are /etc/ppp/online/S20<base>, and
/etc/ppp/offline/K20<base>. Scripts are placed in /etc/ppp/scripts.d.
Please note, that <iface> may not always be available. The only thing
guaranteed to be there is <tty>.
Tomorrow I will make up a formal patch, and submit it to the bug system. I
will set the priority to wishlist, unless I am told by several others to
increase it.
Adam
--
E-mail the word "unsubscribe" to debian-devel-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to listmaster@lists.debian.org
Reply to: