From: nbd Date: Tue, 19 Apr 2005 12:36:52 +0000 (+0000) Subject: remove persist in pppoe script until reconnect works reliably in pppd X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/b28cd70077f8958ba005b8a6522963caaa8499f1 remove persist in pppoe script until reconnect works reliably in pppd git-svn-id: svn://svn.openwrt.org/openwrt/trunk@685 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe b/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe index 18c87ba4b..c7e6d10fb 100755 --- a/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe +++ b/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe @@ -22,7 +22,7 @@ done MTU=${MTU:+ mtu $MTU mru $MTU} 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 done ) &