Erich Titl wrote:
> Richard Saunders wrote:
>> Is it possible just to insert a pause somewhere in the startup scripts
>> to wait for ppp0
>> to come up before continuing?
> 
> Yes, that was my first aproach, unfortunately not a very smart one, as,
> for example, ppp may take a very long time to come up.
> 

while true; do
        ip link ls dev ppp0 > /dev/null 2>&1 && break
        echo "Waiting for ppp0 to come up..."
        sleep 5
done

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to