gen_initramfs: provide /bin/udhcpc

master
Fabio Erculiani 12 years ago
parent 2af62f0189
commit 6b29188ee3

@ -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

@ -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 ||

Loading…
Cancel
Save