busybox-1.11.3: udhcpd script: Do not deconfig network interface ONLY if rootfs on...
authorSteffen Sledz <sledz@dresearch.de>
Wed, 28 Jan 2009 07:42:21 +0000 (08:42 +0100)
committerSteffen Sledz <sledz@dresearch.de>
Wed, 28 Jan 2009 07:42:21 +0000 (08:42 +0100)
(scripting bug fixed)

packages/busybox/busybox-1.11.3/udhcpscript.patch
packages/busybox/busybox_1.11.3.bb

index cad56d2..363f66e 100644 (file)
@@ -19,7 +19,7 @@ Index: busybox-1.11.3/examples/udhcp/simple.script
  case "$1" in
        deconfig)
 -              /sbin/ifconfig $interface 0.0.0.0
-+              if [ ! root_is_nfs ]; then
++              if ! root_is_nfs ; then
 +                      /sbin/ifconfig $interface 0.0.0.0
 +              fi
                ;;
index c006e31..b42f8ea 100644 (file)
@@ -1,5 +1,5 @@
 require busybox.inc
-PR = "r12"
+PR = "r13"
 
 SRC_URI = "\
   http://www.busybox.net/downloads/busybox-${PV}.tar.gz \