#!/bin/sh ETH=eth3 MTU=1492 ACCOUNT=username@provider while ! /sbin/ip link show $ETH | grep -q UP; do sleep 2 done sleep 5 exec /usr/sbin/pppd plugin /usr/lib/pppd/2.4.9/pppoe.so $ETH noipdefault noauth default-asyncmap defaultroute mtu $MTU mru $MTU noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp user $ACCOUNT lcp-echo-interval 20 lcp-echo-failure 3 persist nodetach holdoff 0 /dev/null 2>&1