I let init handle that. Put the following line either in
/etc/inittab or create a new file called
/etc/inittab.d/dsl.tab
Code:
dsl:345:respawn:/usr/sbin/pppd call myprovider eth2.7
with all necessary options except the interface (VLAN 7 tagged in my case) in
/etc/ppp/peers/myprovider. You may also put everything in
/etc/ppp/options and do without
call myprovider.
Make sure to put
nodetach in the options!
Afterwards reboot or let init re-read the inittab with:
This has also the advantage that pppd is automatically restarted when it exits or dies.