summaryrefslogtreecommitdiff
path: root/packages/dhcp/files/dhclient-script-exit-status.dpatch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/dhcp/files/dhclient-script-exit-status.dpatch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/dhcp/files/dhclient-script-exit-status.dpatch')
-rw-r--r--packages/dhcp/files/dhclient-script-exit-status.dpatch20
1 files changed, 0 insertions, 20 deletions
diff --git a/packages/dhcp/files/dhclient-script-exit-status.dpatch b/packages/dhcp/files/dhclient-script-exit-status.dpatch
deleted file mode 100644
index d075892bfa..0000000000
--- a/packages/dhcp/files/dhclient-script-exit-status.dpatch
+++ /dev/null
@@ -1,20 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## dhclient-script-exit-status.dpatch by <apollock@debian.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Use exit status 2, rather than 1, to indicate that binding failed,
-## DP: so that unrelated errors do not result in DHCPDECLINE
-
-@DPATCH@
-diff -urNad dhcp3-3.0.2/client/dhclient.c /tmp/dpep.DiNW3N/dhcp3-3.0.2/client/dhclient.c
---- dhcp3-3.0.2/client/dhclient.c 2004-11-25 04:39:14.000000000 +1100
-+++ /tmp/dpep.DiNW3N/dhcp3-3.0.2/client/dhclient.c 2005-06-15 12:51:38.952349445 +1000
-@@ -869,7 +869,7 @@
- /* If the BOUND/RENEW code detects another machine using the
- offered address, it exits nonzero. We need to send a
- DHCPDECLINE and toss the lease. */
-- if (script_go (client)) {
-+ if (script_go (client) == 2) {
- make_decline (client, client -> new);
- send_decline (client);
- destroy_client_lease (client -> new);