]> git.ipfire.org Git - people/ms/network.git/commitdiff
hotplug: Must not stop after first port has been hit
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 Sep 2014 20:14:49 +0000 (22:14 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 Sep 2014 20:14:49 +0000 (22:14 +0200)
Some devices may create multiple interfaces that need
to be created.

src/udev/network-hotplug

index 09bdd937d4b0294bf665bb54449c6be061466b33..0690066eae3411b474f7a6611a7764f8d9c44370 100644 (file)
@@ -97,10 +97,9 @@ case "${ACTION}" in
                                                case "${ret}" in
                                                        ${EXIT_OK})
                                                                log DEBUG "phy '${phy}' was handled by port '${port}'"
-                                                               break
                                                                ;;
                                                        ${EXIT_NOT_HANDLED})
-                                                               log DEBUG "phy '${phy}' was not handled by port '${port}'"
+                                                               : # do nothing
                                                                ;;
                                                        *)
                                                                log WARNING "Unknown exit code for port '${port}': ${ret}"