diff options
| author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-11-19 09:23:13 +0000 |
|---|---|---|
| committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-11-19 09:23:13 +0000 |
| commit | 4ed8ea8a92faa86d504c739c2ece1dc401b415f0 (patch) | |
| tree | fcb0783c9280d280bbd82a1e3f6b4d923386c42e | |
| parent | 2aae776f2b1038f576c813b0774256f4b7e46909 (diff) | |
| download | busybox-w32-4ed8ea8a92faa86d504c739c2ece1dc401b415f0.tar.gz busybox-w32-4ed8ea8a92faa86d504c739c2ece1dc401b415f0.tar.bz2 busybox-w32-4ed8ea8a92faa86d504c739c2ece1dc401b415f0.zip | |
dont use the -i option of xargs
git-svn-id: svn://busybox.net/trunk/busybox@5968 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -rw-r--r-- | networking/ifupdown.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 03eb0a5a7..b0f526770 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
| @@ -460,7 +460,7 @@ static int dhcp_up(interface_defn *ifd, execfn *exec) | |||
| 460 | static int dhcp_down(interface_defn *ifd, execfn *exec) | 460 | static int dhcp_down(interface_defn *ifd, execfn *exec) |
| 461 | { | 461 | { |
| 462 | if (execable("/sbin/dhclient")) { | 462 | if (execable("/sbin/dhclient")) { |
| 463 | if (!execute("cat /var/run/dhclient.%iface%.pid | xargs -i kill -TERM {}", ifd, exec)) { | 463 | if (!execute("cat /var/run/dhclient.%iface%.pid | xargs kill", ifd, exec)) { |
| 464 | return(0); | 464 | return(0); |
| 465 | } | 465 | } |
| 466 | } else if (execable("/sbin/pump")) { | 466 | } else if (execable("/sbin/pump")) { |
| @@ -468,7 +468,7 @@ static int dhcp_down(interface_defn *ifd, execfn *exec) | |||
| 468 | return(0); | 468 | return(0); |
| 469 | } | 469 | } |
| 470 | } else if (execable("/sbin/udhcpc")) { | 470 | } else if (execable("/sbin/udhcpc")) { |
| 471 | if (!execute("cat /var/run/udhcpc.%iface%.pid | xargs -i kill -TERM {}", ifd, exec)) { | 471 | if (!execute("cat /var/run/udhcpc.%iface%.pid | xargs kill", ifd, exec)) { |
| 472 | return(0); | 472 | return(0); |
| 473 | } | 473 | } |
| 474 | } else if (execable("/sbin/dhcpcd")) { | 474 | } else if (execable("/sbin/dhcpcd")) { |
