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

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





David Cantrell wrote:
---
 mkinitrd |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Looks good to me, shouldn't we create directories for the leases file etc too ?

Regards,

Hans

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


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