[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] If dhcp is in use, copy dhclient in to the initrd.



---
 mkinitrd |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/mkinitrd b/mkinitrd
index 1316189..2bb1e0f 100755
--- a/mkinitrd
+++ b/mkinitrd
@@ -1371,6 +1371,7 @@ if [ -n "$raiddevices" ]; then
 fi
 
 if [ "$root" == "dhcp" ]; then
+    inst "/sbin/dhclient" "$MNTIMAGE" /sbin/dhclient
     inst "/usr/sbin/nbd-client" "$MNTIMAGE" /sbin/nbd-client
 fi
 
-- 
1.6.0.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]