mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add option to enable/disable interface rename
This commit is contained in:
parent
db0ba4af80
commit
66f8f2b2fe
3 changed files with 19 additions and 3 deletions
|
@ -58,6 +58,8 @@ _set_intf_name() {
|
|||
}
|
||||
}
|
||||
|
||||
config_load network
|
||||
config_foreach _set_intf_name interface
|
||||
config_foreach _set_intf_name interface
|
||||
if [ "$(uci -q get openmptcprouter.settings.disableintfrename)" != "0" ]; then
|
||||
config_load network
|
||||
config_foreach _set_intf_name interface
|
||||
config_foreach _set_intf_name interface
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue