summaryrefslogtreecommitdiffstats
path: root/recipes/busybox/busybox-1.17.1/udhcpscript.patch
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-08-20 17:19:14 -0700
committerTom Rini <tom_rini@mentor.com>2010-08-20 17:21:47 -0700
commite325cc7b38be32e6352f19b4712f96144be3ffe5 (patch)
tree3ae50234832ad1ae33fd7f08f40a8b5ef9db7a81 /recipes/busybox/busybox-1.17.1/udhcpscript.patch
parent8925db69ff1d5699b7fce8fb072d4d500232da68 (diff)
downloadopenembedded-e325cc7b38be32e6352f19b4712f96144be3ffe5.tar.gz
busybox: Add 1.17.1, D_P = -1 for all for now
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/busybox/busybox-1.17.1/udhcpscript.patch')
-rw-r--r--recipes/busybox/busybox-1.17.1/udhcpscript.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/busybox/busybox-1.17.1/udhcpscript.patch b/recipes/busybox/busybox-1.17.1/udhcpscript.patch
new file mode 100644
index 0000000000..2ffba956ae
--- /dev/null
+++ b/recipes/busybox/busybox-1.17.1/udhcpscript.patch
@@ -0,0 +1,13 @@
+Index: busybox-1.15.1/examples/udhcp/simple.script
+===================================================================
+--- busybox-1.15.1.orig/examples/udhcp/simple.script 2009-09-12 17:55:36.000000000 +0200
++++ busybox-1.15.1/examples/udhcp/simple.script 2009-09-16 22:51:06.599693412 +0200
+@@ -22,7 +22,7 @@ case "$1" in
+
+ if [ -n "$router" ] ; then
+ echo "Deleting routers"
+- while route del default gw 0.0.0.0 dev $interface ; do
++ while route del default gw 0.0.0.0 dev $interface 2>/dev/null ; do
+ :
+ done
+