]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Remove netroot check in cmdline parsing code
authorCong Wang <xiyou.wangcong@gmail.com>
Tue, 29 May 2012 09:00:32 +0000 (17:00 +0800)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 May 2012 09:18:51 +0000 (11:18 +0200)
Relax the rules for kdump, we don't specify netroot in kdump.

Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
modules.d/40network/parse-vlan.sh

index 60b09d8c25c8c84e911e266360a00a59eac4c8db..3ba228922a91e03b81133e4701d1d611cfe52168 100644 (file)
@@ -9,9 +9,6 @@
 
 # Check if vlan parameter is valid
 if getarg vlan= >/dev/null ; then
-    if [ -z "$netroot" ] ; then
-        die "No netboot configured, vlan is invalid"
-    fi
     :
 fi