Message ID | 20250729144220.1332214-6-michael.tremer@ipfire.org |
---|---|
State | New |
Headers | |
Series | [1/6] linux: Don't create bond0 when bonding is being loaded | |
Commit Message
diff --git a/config/udev/network-hotplug-master b/config/udev/network-hotplug-master index 34cec46a6..ed9cd58c3 100644 --- a/config/udev/network-hotplug-master +++ b/config/udev/network-hotplug-master @@ -25,6 +25,12 @@ eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings) +# Only run this script once at a time +if [ -z "${LOCKED}" ]; then + export LOCKED=1 + exec flock "${0}" "${0}" "$@" +fi + detect_zone() { local intf="${INTERFACE%?}" intf="${intf%phys}"