summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2006-10-02 12:15:55 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2006-10-02 12:15:55 +0000
commit920cd9bece34da64ea97e4aeabc1ca085fdf5618 (patch)
tree084a8d8261fb8294bb28c49bd3885ebad59b28bb
parent835f161698d8d1128f3553c7144f7d7dd91f8045 (diff)
busybox: Fix slugos initscript to prevent dhcp server starvation. Closes oe bug #1417
-rw-r--r--packages/busybox/busybox-1.2.1/slugos/udhcpscript.patch2
-rw-r--r--packages/busybox/busybox_1.2.1.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/busybox/busybox-1.2.1/slugos/udhcpscript.patch b/packages/busybox/busybox-1.2.1/slugos/udhcpscript.patch
index 010f64a53f..dec6c18994 100644
--- a/packages/busybox/busybox-1.2.1/slugos/udhcpscript.patch
+++ b/packages/busybox/busybox-1.2.1/slugos/udhcpscript.patch
@@ -96,7 +96,7 @@
- done
+deconfig)
+ # Bring the interface up (without inet at this point)
-+ ifconfig "$interface" up;;
++ ifconfig "$interface" 0.0.0.0;;
+
+renew|bound)
+ bind;;
diff --git a/packages/busybox/busybox_1.2.1.bb b/packages/busybox/busybox_1.2.1.bb
index 1cd3b774e3..9893a17285 100644
--- a/packages/busybox/busybox_1.2.1.bb
+++ b/packages/busybox/busybox_1.2.1.bb
@@ -10,7 +10,7 @@ HOMEPAGE = "http://www.busybox.net"
LICENSE = "GPL"
SECTION = "base"
PRIORITY = "required"
-PR = "r8"
+PR = "r9"
SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
file://dhcp-hostname.patch;patch=1 \