Adapt ifupdown bits to busybox start-stop-daemon.
authorChris Larson <clarson@kergoth.com>
Mon, 29 Sep 2003 22:22:51 +0000 (22:22 +0000)
committerChris Larson <clarson@kergoth.com>
Mon, 29 Sep 2003 22:22:51 +0000 (22:22 +0000)
BKrev: 3f78b0bbW_tGeTdMHyxW1q1-PUAdyQ

ifupdown/ifupdown-0.6.4.oe
ifupdown/ifupdown-0.6.4/busybox.patch [new file with mode: 0644]
ifupdown/ifupdown-0.6.4/zeroconf.patch

index 87f4f1c..36825cc 100644 (file)
@@ -7,6 +7,7 @@ DESCRIPTION = High level tools to configure network interfaces\
 
 SRC_URI = ${DEBIAN_MIRROR}/main/i/${PN}/${PN}_${PV}.orig.tar.gz \
          ${DEBIAN_MIRROR}/main/i/${PN}/${PN}_${PV}-4.4.diff.gz;patch=1 \
+         file://${FILESDIR}/busybox.patch;patch=1 \
          file://${FILESDIR}/udhcpc.patch;patch=1 \
          file://${FILESDIR}/zeroconf.patch;patch=1
 S = ${WORKDIR}/${P}
diff --git a/ifupdown/ifupdown-0.6.4/busybox.patch b/ifupdown/ifupdown-0.6.4/busybox.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..33745db 100644 (file)
@@ -0,0 +1,21 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- ifupdown-0.6.4/inet.defn~zeroconf
++++ ifupdown-0.6.4/inet.defn
+@@ -120,3 +120,13 @@
+   down
+     /sbin/start-stop-daemon -X -x /usr/bin/wvdial \
+                       -p /var/run/wvdial.%iface%
++
++method zeroconf
++  description
++    This method uses zeroconf to configure an interface.  See the man page
++    for zcip for details.
++  up
++    /sbin/start-stop-daemon -S -x /usr/sbin/zcip -p /var/run/zcip.%iface% \
++                    -- -s -i %iface%
++  down
++    /sbin/start-stop-daemon -X -x /usr/sbin/zcip -p /var/run/zcip.%iface%