]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Relax the rules for kdump, we don't specify netroot in kdump.
authorCong Wang <xiyou.wangcong@gmail.com>
Tue, 29 May 2012 07:17:01 +0000 (09:17 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 May 2012 07:17:01 +0000 (09:17 +0200)
modules.d/40network/parse-bond.sh
modules.d/40network/parse-bridge.sh

index ae0ae97b9e5f97a4dba470907d07161f08ffe057..5822685295f2c9c3da73eaf1c257e9cf5e4dc1be 100755 (executable)
@@ -15,9 +15,6 @@
 
 # Check if bond parameter is valid
 if getarg bond= >/dev/null ; then
-    if [ -z "$netroot" ] ; then
-        die "No netboot configured, bond is invalid"
-    fi
     command -v ifenslave >/dev/null 2>&1 || die "No 'ifenslave' installed"
 fi
 
index aaa5a547eea8618d9c54002c275691522b6ceb31..6e1fee1b3d5ec0ac65104bb7d3a26dff9d231c21 100755 (executable)
@@ -13,9 +13,6 @@
 
 # Check if bridge parameter is valid
 if getarg bridge= >/dev/null ; then
-    if [ -z "$netroot" ] ; then
-        die "No netboot configured, bridge is invalid"
-    fi
     command -v brctl >/dev/null 2>&1 || die "No 'brctl' installed" 
 fi