mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Reconnect PPPoE
This commit is contained in:
parent
af70f16ef9
commit
afc7c851c8
1 changed files with 3 additions and 0 deletions
|
@ -272,6 +272,9 @@ function wizard_add()
|
||||||
elseif typeintf == "" and device ~= "" and proto == "modemmanager" then
|
elseif typeintf == "" and device ~= "" and proto == "modemmanager" then
|
||||||
ucic:set("network",intf,"device",device_manager)
|
ucic:set("network",intf,"device",device_manager)
|
||||||
end
|
end
|
||||||
|
if proto == "pppoe" then
|
||||||
|
ucic:set("network",intf,"pppd_options","persist maxfail 0")
|
||||||
|
end
|
||||||
if proto ~= "other" then
|
if proto ~= "other" then
|
||||||
ucic:set("network",intf,"proto",proto)
|
ucic:set("network",intf,"proto",proto)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue