diff --git a/luci-mod-network/root/etc/init.d/macvlan b/luci-mod-network/root/etc/init.d/macvlan index 37f41e578..bc94c1779 100755 --- a/luci-mod-network/root/etc/init.d/macvlan +++ b/luci-mod-network/root/etc/init.d/macvlan @@ -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