summaryrefslogtreecommitdiffstats
path: root/meta/packages/busybox/busybox-1.9.1/udhcpscript.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/busybox/busybox-1.9.1/udhcpscript.patch')
-rw-r--r--meta/packages/busybox/busybox-1.9.1/udhcpscript.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/meta/packages/busybox/busybox-1.9.1/udhcpscript.patch b/meta/packages/busybox/busybox-1.9.1/udhcpscript.patch
deleted file mode 100644
index d00755fa3a..0000000000
--- a/meta/packages/busybox/busybox-1.9.1/udhcpscript.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6Index: busybox-1.9.1/examples/udhcp/simple.script
7===================================================================
8--- busybox-1.9.1.orig/examples/udhcp/simple.script 2008-02-12 16:03:13.000000000 +0000
9+++ busybox-1.9.1/examples/udhcp/simple.script 2009-05-27 22:54:42.000000000 +0100
10@@ -17,14 +17,13 @@
11 /sbin/ifconfig $interface $ip $BROADCAST $NETMASK
12
13 if [ -n "$router" ] ; then
14- echo "deleting routers"
15- while route del default gw 0.0.0.0 dev $interface ; do
16+ while route del default gw 0.0.0.0 dev $interface 2>/dev/null ; do
17 :
18 done
19
20 metric=0
21 for i in $router ; do
22- route add default gw $i dev $interface metric $((metric++))
23+ /sbin/route add default gw $i dev $interface metric $((metric++))
24 done
25 fi
26