]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
udev: Add more logging to bridge hotplug script
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 Feb 2020 13:48:18 +0000 (13:48 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 16 Feb 2020 15:31:04 +0000 (15:31 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/udev/network-hotplug-bridges

index 5144a7712d5fedc82e0cd482148e65c0ab79202b..30a671f04fa17a7280723da711f38363e0ce27a0 100644 (file)
@@ -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
                ;;