diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-07-26 12:11:32 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-07-26 12:11:32 +0000 |
commit | b2a300590d1e061658be5aa4f74a437485b36a55 (patch) | |
tree | 9d4745b7528d677e7dc5979c0592a8253fb3908b /networking | |
parent | 8f38782a6e797c4b5c322e0b6a4ec6d369822c6a (diff) | |
download | busybox-b2a300590d1e061658be5aa4f74a437485b36a55.tar.gz |
bother. unrevert my fix.
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifupdown.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 276ca5f22..ff6e58acd 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -565,7 +565,7 @@ static int dhcp_down(struct interface_defn_t *ifd, execfn *exec) int result = 0; if (execable("/sbin/udhcpc")) { execute("kill -USR2 `cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", ifd, exec); - execute("kill -TERM `cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", ifd, exec); + execute("kill -9 `cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", ifd, exec); } else if (execable("/sbin/pump")) { result = execute("pump -i %iface% -k", ifd, exec); } else if (execable("/sbin/dhclient")) { @@ -573,6 +573,7 @@ static int dhcp_down(struct interface_defn_t *ifd, execfn *exec) } else if (execable("/sbin/dhcpcd")) { result = execute("dhcpcd -k %iface%", ifd, exec); } + static_down(ifd, exec) return (result || bootp_down(ifd, exec)); } |