mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41: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
|
||||
ucic:set("network",intf,"device",device_manager)
|
||||
end
|
||||
if proto == "pppoe" then
|
||||
ucic:set("network",intf,"pppd_options","persist maxfail 0")
|
||||
end
|
||||
if proto ~= "other" then
|
||||
ucic:set("network",intf,"proto",proto)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue