diff options
-rw-r--r-- | meta/packages/busybox/busybox-1.9.1/udhcpscript.patch | 15 | ||||
-rw-r--r-- | meta/packages/busybox/busybox_1.9.1.bb | 2 |
2 files changed, 13 insertions, 4 deletions
diff --git a/meta/packages/busybox/busybox-1.9.1/udhcpscript.patch b/meta/packages/busybox/busybox-1.9.1/udhcpscript.patch index fc21d440cd..d00755fa3a 100644 --- a/meta/packages/busybox/busybox-1.9.1/udhcpscript.patch +++ b/meta/packages/busybox/busybox-1.9.1/udhcpscript.patch @@ -3,9 +3,11 @@ # Patch managed by http://www.holgerschurig.de/patcher.html # ---- busybox-1.00-rc3/examples/udhcp/simple.script~udhcpscript -+++ busybox-1.00-rc3/examples/udhcp/simple.script -@@ -17,8 +17,7 @@ +Index: busybox-1.9.1/examples/udhcp/simple.script +=================================================================== +--- busybox-1.9.1.orig/examples/udhcp/simple.script 2008-02-12 16:03:13.000000000 +0000 ++++ busybox-1.9.1/examples/udhcp/simple.script 2009-05-27 22:54:42.000000000 +0100 +@@ -17,14 +17,13 @@ /sbin/ifconfig $interface $ip $BROADCAST $NETMASK if [ -n "$router" ] ; then @@ -15,3 +17,10 @@ : done + metric=0 + for i in $router ; do +- route add default gw $i dev $interface metric $((metric++)) ++ /sbin/route add default gw $i dev $interface metric $((metric++)) + done + fi + diff --git a/meta/packages/busybox/busybox_1.9.1.bb b/meta/packages/busybox/busybox_1.9.1.bb index 6c7656ee4c..26b73530f5 100644 --- a/meta/packages/busybox/busybox_1.9.1.bb +++ b/meta/packages/busybox/busybox_1.9.1.bb @@ -1,5 +1,5 @@ require busybox.inc -PR = "r9" +PR = "r10" SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \ http://busybox.net/downloads/fixes-1.9.1/busybox-1.9.1-lineedit.patch;patch=1 \ |