summaryrefslogtreecommitdiffstats
path: root/meta/packages/busybox/busybox-1.15.3/udhcpscript.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/busybox/busybox-1.15.3/udhcpscript.patch')
-rw-r--r--meta/packages/busybox/busybox-1.15.3/udhcpscript.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/busybox/busybox-1.15.3/udhcpscript.patch b/meta/packages/busybox/busybox-1.15.3/udhcpscript.patch
new file mode 100644
index 0000000000..2ffba956ae
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.15.3/udhcpscript.patch
@@ -0,0 +1,13 @@
1Index: busybox-1.15.1/examples/udhcp/simple.script
2===================================================================
3--- busybox-1.15.1.orig/examples/udhcp/simple.script 2009-09-12 17:55:36.000000000 +0200
4+++ busybox-1.15.1/examples/udhcp/simple.script 2009-09-16 22:51:06.599693412 +0200
5@@ -22,7 +22,7 @@ case "$1" in
6
7 if [ -n "$router" ] ; then
8 echo "Deleting routers"
9- while route del default gw 0.0.0.0 dev $interface ; do
10+ while route del default gw 0.0.0.0 dev $interface 2>/dev/null ; do
11 :
12 done
13