mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
busybox: Add missing path in uducpc script
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user