summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-11-18 11:47:19 +0100
committerSebastian Schmelzer2011-11-18 11:47:19 +0100
commit60507ddde6b8363b1d3a54bc73b1480a8efef903 (patch)
tree6400232b7ddb509f520b03df989e4f2f8ad2ff7c
parentupdate stage3 rootfs (busybox 1.19.3, squeezy libs) (diff)
downloadcore-60507ddde6b8363b1d3a54bc73b1480a8efef903.tar.gz
core-60507ddde6b8363b1d3a54bc73b1480a8efef903.tar.xz
core-60507ddde6b8363b1d3a54bc73b1480a8efef903.zip
quick fix for udhcpc error with new bb version
-rw-r--r--src/initramfs/scripts/etc/functions4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/initramfs/scripts/etc/functions b/src/initramfs/scripts/etc/functions
index 4ad43c7b..6feb29d1 100644
--- a/src/initramfs/scripts/etc/functions
+++ b/src/initramfs/scripts/etc/functions
@@ -274,7 +274,9 @@ mkdir /var/lib/dhcp >/dev/null 2>&1
testmkd /usr/share/udhcpc
ln -sf /bin/dhcpmkconfig /usr/share/udhcpc/default.script
# see for options.c file in udhcp subdir of busybox for accepted "-O option"
-udhcpc -O search -O nissrv -O nisdomain -t 8 -q $vci \
+# TODO: look into udhcpc code to find out how "search" OPT is called now
+#udhcpc -O search -O nissrv -O nisdomain -t 8 -q $vci \
+udhcpc -O domain -O nissrv -O nisdomain -t 8 -q $vci \
-s /usr/share/udhcpc/default.script -i $nwif 2>/dev/null
}