mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 22:06:31 +02:00
remove persist in pppoe script until reconnect works reliably in pppd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@685 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3a92fb555e
commit
8f69e37a93
@ -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 New Issue
Block a user