From: Michael Tremer Date: Fri, 14 Feb 2020 13:48:18 +0000 (+0000) Subject: udev: Add more logging to bridge hotplug script X-Git-Tag: v2.25-core142~65 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=943eab6695bfd0ea20178e44effc97b4b61b0e14;p=ipfire-2.x.git udev: Add more logging to bridge hotplug script 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 5144a7712d..30a671f04f 100644 --- a/config/udev/network-hotplug-bridges +++ b/config/udev/network-hotplug-bridges @@ -72,6 +72,7 @@ ZONE=$(detect_zone) # Cannot proceed if we could not find a zone if [ -z "${ZONE}" ]; then + logger "Could not find a bridged zone for ${INTERFACE}" exit 0 fi @@ -93,6 +94,7 @@ case "${MODE}" in fi # Attach the physical device + logger "Attach ${INTERFACE} to ${BRIDGE}" ip link set dev "${INTERFACE}" master "${BRIDGE}" ip link set dev "${INTERFACE}" up ;;