X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=blobdiff_plain;f=components%2F9990-grml-networking.sh;fp=components%2F9990-grml-networking.sh;h=16e7b7fca2d0b0397a514f73355f694d4fb00a35;hp=ace078e92315afb97e1509ddee8811780b582f7a;hb=ad4ec759ed2d8e76de01c9351cfaa6f8062def0c;hpb=e2e1f4a50c3c8a08dc4f028c51f10dc28bbf97b8 diff --git a/components/9990-grml-networking.sh b/components/9990-grml-networking.sh index ace078e..16e7b7f 100644 --- a/components/9990-grml-networking.sh +++ b/components/9990-grml-networking.sh @@ -51,8 +51,8 @@ unset HOSTNAME # generate config for each present network device for interface in /sys/class/net/* ; do [ -e ${interface} ] || continue - [ "${interface}" = "lo" ] && continue interface=$(basename ${interface}) + [ "${interface}" = "lo" ] && continue method="dhcp" # NODHCP or a previously run ipconfig mean that ifupdown should never