From: Michael Tremer Date: Thu, 2 Dec 2021 12:37:44 +0000 (+0000) Subject: network-hotplug-bridges: Fix warning when address doesn't exist X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=58d471a4a862f3848bd0eaed955840f38653c2e0;p=people%2Fms%2Fipfire-2.x.git network-hotplug-bridges: Fix warning when address doesn't exist Some devices do not have an address, which prints an error when reading it. Signed-off-by: Michael Tremer Signed-off-by: Arne Fitzenreiter --- diff --git a/config/udev/network-hotplug-bridges b/config/udev/network-hotplug-bridges index bacf722ef9..4b8764598d 100644 --- a/config/udev/network-hotplug-bridges +++ b/config/udev/network-hotplug-bridges @@ -41,9 +41,8 @@ detect_zone() { # Try to find out if this INTERFACE is a slave of a zone local slave for slave in $(get_value "${zone}_SLAVES"); do - - #Compare if the mac address matches or if the name matches - if ([ "$(