James schrieb:
> if [ "$PPP_PEER" ]; then
>       /usr/sbin/pppd call $PPP_PEER
> fi
> 
> this assumes ppp forks itself, which is what the scripts lying around
> seems to suggest.

/usr/sbin/pppd call $PPP_PEER detach

This does not guarantee that the connection is up before it returns, so you 
could use

/usr/sbin/pppd call $PPP_PEER updetach

which may block until timeout if the connection cannot be established.

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to