]> git.ipfire.org Git - network.git/commitdiff
hotplug: Fall through to hotplug events for new devices
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Sep 2016 19:11:07 +0000 (21:11 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Sep 2016 19:11:07 +0000 (21:11 +0200)
Even if a device is plugged in for the first time, we now fall
through to the hotplugging handling

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/udev/network-hotplug

index 87035e0ae9519052a24c03c81477952a411b97f2..535fafdcb545fac1f597e5d89904601fd3307fb8 100644 (file)
@@ -92,7 +92,6 @@ case "${SUBSYSTEM}" in
                                # Create a default port for all ethernet devices
                                if ! port_exists "${INTERFACE}"; then
                                        port_new "ethernet" "${INTERFACE}"
-                                       exit ${EXIT_OK}
                                fi
                                ;;