mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
More log on macvlan
This commit is contained in:
parent
ef6acb7830
commit
2ee6a5c17e
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ _setup_interface() {
|
|||
[ "$(echo $1 | grep _dev)" != "" ] && {
|
||||
local _intfdev=$(sed 's/_dev//' $1)
|
||||
uci -q get "network.$_intfdev.ifname" >/dev/null || {
|
||||
logger -t "macvlan" "Remove network.$1"
|
||||
uci -q batch <<-EOF
|
||||
delete network.$1
|
||||
commit network
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue