1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2019-07-23 17:45:01 +02:00
parent ef6acb7830
commit 2ee6a5c17e

View file

@ -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