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/8f69e37a934992d4ee185241d10211c0d04e4b9d 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 --- diff --git a/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe b/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe index 18c87ba4b..c7e6d10fb 100755 --- a/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe +++ b/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 ) &