X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/474e65cbab6cad7dbf74b7cb62acb02aa12403a3..3028eab08bade28a35d3cf90ee160570659e7361:/package/ppp/files/pppoe.sh diff --git a/package/ppp/files/pppoe.sh b/package/ppp/files/pppoe.sh index c0bb51516..bbd36a11a 100644 --- a/package/ppp/files/pppoe.sh +++ b/package/ppp/files/pppoe.sh @@ -1,5 +1,5 @@ -scan_pppoe() { - scan_ppp "$@" +stop_interface_pppoe() { + stop_interface_ppp "$1" } setup_interface_pppoe() { @@ -10,11 +10,6 @@ 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 - set_interface_ifname "$config" "$ifname" - config_get mtu "$config" mtu mtu=${mtu:-1492} start_pppd "$config" \