mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix mlvpn init script
This commit is contained in:
parent
0d7eaabeb4
commit
befc55a567
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ interface_multipath_settings() {
|
|||
config_get ifname "$config" ifname
|
||||
[ -z "$ifname" ] && ifname=$(ifstatus "$config" | jsonfilter -q -e '@["l3_device"]')
|
||||
[ -z "$ifname" ] && return 1
|
||||
addr=$(ifstatus ${ifname} | jsonfilter -q -e '@["ipv4-address"][0].address')
|
||||
addr=$(ifstatus ${config} | jsonfilter -q -e '@["ipv4-address"][0].address')
|
||||
count=$(($count+1))
|
||||
port=$((firstport+count))
|
||||
cat >> /tmp/etc/${interface_name}.conf <<-EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue