From 6b29188ee3e57bbfa34a8d84ed768c1e4a799fe6 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sat, 31 Aug 2013 12:25:14 +0200 Subject: [PATCH] gen_initramfs: provide /bin/udhcpc --- defaults/initrd.d/00-nfs.sh | 2 +- gen_initramfs.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/initrd.d/00-nfs.sh b/defaults/initrd.d/00-nfs.sh index d3e4269..2df528a 100755 --- a/defaults/initrd.d/00-nfs.sh +++ b/defaults/initrd.d/00-nfs.sh @@ -8,7 +8,7 @@ find_nfs() { return 1 fi - if ! busybox udhcpc -n -T 15 -q; then + if ! udhcpc -n -T 15 -q; then bad_msg "udhcpc returned error, skipping nfs setup..." return 1 fi diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 4424214..59d8bb5 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -131,7 +131,7 @@ append_busybox() { # Set up a few default symlinks local default_applets="[ ash sh mount uname ls echo cut cat flock stty" - default_applets+=" readlink mountpoint dmesg" + default_applets+=" readlink mountpoint dmesg udhcpc" for i in ${BUSYBOX_APPLETS:-${default_applets}}; do rm -f ${TEMP}/initramfs-busybox-temp/bin/$i ln -s busybox ${TEMP}/initramfs-busybox-temp/bin/$i ||