diff --git a/src/ifplugd.action b/src/ifplugd.action index c87ac0c..6d87c6c 100755 --- a/src/ifplugd.action +++ b/src/ifplugd.action @@ -20,7 +20,7 @@ case "$2" in ( echo "Reading profile '$profile'" source "$PROFILE_DIR/$profile" - [[ "$Interface" == "$1" && "$Connection" == "ethernet" ]] || continue + [[ "$Interface" == "$1" && "$Connection" == "ethernet" ]] || [[ "$Connection" == "bridge" && "$1" == "$(for iface in "${BindsToInterfaces[@]}"; do test "${iface}" == "$1" && echo "${iface}" && break; done)" ]] || continue is_yes "${AutoWired:-no}" && exit 1 # user preferred AUTO profile [[ "$IP" == "dhcp" ]] && exit 2 # dhcp profile exit 3 # static profile