Do not generate dhcp entry for loopback interface
authorMichael Prokop <mika@grml.org>
Fri, 8 Feb 2019 15:26:21 +0000 (16:26 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 8 Feb 2019 15:26:21 +0000 (16:26 +0100)
commitad4ec759ed2d8e76de01c9351cfaa6f8062def0c
tree874c9844c8900418d0df03b5a3ec0827d1ad000e
parente2e1f4a50c3c8a08dc4f028c51f10dc28bbf97b8
Do not generate dhcp entry for loopback interface

This fixes a regression that was introduced in commit 52474b4c28303324.
The variable $interface is pointing towards /sys/class/net/lo,
at least until we overwrite the variable by the basename of
its network interface name path. Accordingly fix order for comparison.

Closes: https://github.com/grml/live-boot-grml/issues/9
Thanks: Mykola Malkov for the bug report
components/9990-grml-networking.sh