mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
fix pppoe on dynamically assigned interfaces
SVN-Revision: 9852
This commit is contained in:
parent
abf6bfff51
commit
8c871a5f6b
@ -6,8 +6,6 @@ setup_interface_pppoe() {
|
|||||||
local iface="$1"
|
local iface="$1"
|
||||||
local config="$2"
|
local config="$2"
|
||||||
|
|
||||||
config_get device "$config" device
|
|
||||||
|
|
||||||
for module in slhc ppp_generic pppox pppoe; do
|
for module in slhc ppp_generic pppox pppoe; do
|
||||||
/sbin/insmod $module 2>&- >&-
|
/sbin/insmod $module 2>&- >&-
|
||||||
done
|
done
|
||||||
@ -22,5 +20,5 @@ setup_interface_pppoe() {
|
|||||||
start_pppd "$config" \
|
start_pppd "$config" \
|
||||||
plugin rp-pppoe.so \
|
plugin rp-pppoe.so \
|
||||||
mtu $mtu mru $mtu \
|
mtu $mtu mru $mtu \
|
||||||
"nic-$device"
|
"nic-$iface"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user