From: Felix Fietkau Date: Tue, 19 Apr 2005 12:36:52 +0000 (+0000) Subject: remove persist in pppoe script until reconnect works reliably in pppd X-Git-Tag: reboot~33027 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=92c56feb962501d53d81ab785afef193b91c4960;p=oweals%2Fopenwrt.git remove persist in pppoe script until reconnect works reliably in pppd SVN-Revision: 685 --- 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 18c87ba4b9..c7e6d10fba 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 ) &