]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
40network: make dhclient mandatory again
authorHarald Hoyer <harald@redhat.com>
Mon, 28 Mar 2011 15:23:06 +0000 (17:23 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 28 Mar 2011 15:23:06 +0000 (17:23 +0200)
modules.d/40network/module-setup.sh

index f32745c17cdd5ac6e6e82e6e8fc917d1faf39c02..0f0ce655126985686fb4ad4640e3a632b399c400 100755 (executable)
@@ -5,7 +5,7 @@
 check() {
     . $dracutfunctions
 
-    for program in ip arping; do 
+    for program in ip arping dhclient ; do 
         if ! type -P $program >/dev/null; then
             derror "Could not find program \"$program\" required by network."
             return 1
@@ -42,8 +42,8 @@ installkernel() {
 }
 
 install() {
-    dracut_install ip arping tr
-    dracut_install -o dhclient brctl ifenslave
+    dracut_install ip arping tr dhclient 
+    dracut_install -o brctl ifenslave
     inst "$moddir/ifup" "/sbin/ifup"
     inst "$moddir/netroot" "/sbin/netroot"
     inst "$moddir/dhclient-script" "/sbin/dhclient-script"