-scan_pppoe() {
- scan_ppp "$@"
+stop_interface_pppoe() {
+ stop_interface_ppp "$1"
}
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 "$cfg" mtu
+ config_get mtu "$config" mtu
mtu=${mtu:-1492}
start_pppd "$config" \
plugin rp-pppoe.so \