]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
network/parse-bridge: check for bridge parameter not ip
authorHarald Hoyer <harald@redhat.com>
Thu, 8 Oct 2009 16:08:34 +0000 (18:08 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 8 Oct 2009 16:08:34 +0000 (18:08 +0200)
modules.d/40network/parse-bridge.sh

index 494da2d615a150a383de0a96d5e9219be0802029..218485ab7265dcd469776d74586bfd5549a82d0b 100644 (file)
@@ -10,7 +10,7 @@
 [ -n "$bridgename" ] && return
 
 # Check if bridge parameter is valid 
-if getarg ip= >/dev/null ; then
+if getarg bridge= >/dev/null ; then
     if [ -z "$netroot" ] ; then
        die "No netboot configured, bridge is invalid"
     fi