if [ -f /var/run/next_ppp_device ] then ppp_idx=`cat /var/run/next_ppp_device` else ppp_idx=0 fi phone='-' bandwidth='-1:-1' route='0.0.0.0/0' ip_up_events='yes' add_imond_entry net_alias_add pppoe ppp$ppp_idx echo $dev >/var/run/circuit-pppoe echo $usepeerdns >/var/run/pppoe.usepeerdns echo ppp$ppp_idx > /var/run/pppoe-device ppp_idx=`/usr/bin/expr $ppp_idx + 1` echo $ppp_idx > /var/run/next_ppp_device