X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/29d812257c591a9c395dc527710da1ce3659f386..2252f6f066f68a12ca80456980ae13edcd4048c6:/package/ppp/files/pppoe.sh?ds=sidebyside diff --git a/package/ppp/files/pppoe.sh b/package/ppp/files/pppoe.sh index f33d37a1a..74f1a8579 100644 --- a/package/ppp/files/pppoe.sh +++ b/package/ppp/files/pppoe.sh @@ -10,12 +10,7 @@ setup_interface_pppoe() { /sbin/insmod $module 2>&- >&- done - # make sure the network state references the correct ifname - scan_ppp "$config" - config_get ifname "$config" ifname - uci set "/var/state/network.$config.ifname=$ifname" - - config_get mtu "$cfg" mtu + config_get mtu "$config" mtu mtu=${mtu:-1492} start_pppd "$config" \ plugin rp-pppoe.so \