remove persist in pppoe script until reconnect works reliably in pppd
SVN-Revision: 685
This commit is contained in:
parent
ca36585be4
commit
92c56feb96
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ done
|
||||||
MTU=${MTU:+ mtu $MTU mru $MTU}
|
MTU=${MTU:+ mtu $MTU mru $MTU}
|
||||||
|
|
||||||
ifconfig $IFNAME up
|
ifconfig $IFNAME up
|
||||||
echo -e "plugin rp-pppoe.so\npersist\nconnect /bin/true\nusepeerdns\ndefaultroute\nuser \"$USERNAME\"\npassword \"$PASSWORD\"\n$MTU\n$IDLETIME\n$REDIAL" > /tmp/.pppoe-data
|
echo -e "plugin rp-pppoe.so\nconnect /bin/true\nusepeerdns\ndefaultroute\nuser \"$USERNAME\"\npassword \"$PASSWORD\"\n$MTU\n$IDLETIME\n$REDIAL" > /tmp/.pppoe-data
|
||||||
/usr/sbin/pppd nodetach file /tmp/.pppoe-data $IFNAME
|
/usr/sbin/pppd nodetach file /tmp/.pppoe-data $IFNAME
|
||||||
done
|
done
|
||||||
) &
|
) &
|
||||||
|
|
Loading…
Reference in a new issue