mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Support alias interfaces
This commit is contained in:
parent
35f7ce04de
commit
56e032152d
7 changed files with 19 additions and 0 deletions
|
@ -54,6 +54,7 @@ _launch_tracker() {
|
|||
ifname=$(ifstatus "$1" | jsonfilter -q -e '@["l3_device"]')
|
||||
[ -z "$ifname" ] && ifname=$(ifstatus "$1_4" | jsonfilter -q -e '@["l3_device"]')
|
||||
[ -z "$ifname" ] && config_get ifname "$1" ifname
|
||||
[ -n "$(echo $ifname | grep '@')" ] && ifname=$(ifstatus "$1" | jsonfilter -q -e '@["device"]')
|
||||
|
||||
config_get multipath "$1" multipath
|
||||
config_get ifenabled "$1" auto
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue