[BusyBox-cvs] CVS update of busybox/networking (ifupdown.c)

Glenn McGrath bug1 at codepoet.org
Wed Jul 21 12:21:40 UTC 2004


    Date: Wednesday, July 21, 2004 @ 06:21:40
  Author: bug1
    Path: /var/cvs/busybox/networking

Modified: ifupdown.c (1.40 -> 1.41)

Patch from Mike Snitzer, bring down dhclient using its correct pid, fix 
a grammatical error.


Index: busybox/networking/ifupdown.c
diff -u busybox/networking/ifupdown.c:1.40 busybox/networking/ifupdown.c:1.41
--- busybox/networking/ifupdown.c:1.40	Tue Jul 20 00:35:54 2004
+++ busybox/networking/ifupdown.c	Wed Jul 21 06:21:39 2004
@@ -562,7 +562,7 @@
 	} else if (execable("/sbin/pump")) {
 		result = execute("pump -i %iface% -k", ifd, exec);
 	} else if (execable("/sbin/dhclient")) {
-		execute("kill -9 `cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", ifd, exec);
+		execute("kill -9 `cat /var/run/dhclient.%iface%.pid` 2>/dev/null", ifd, exec);
 	} else if (execable("/sbin/dhcpcd")) {
 		result = execute("dhcpcd -k %iface%", ifd, exec);
 	}
@@ -1375,7 +1375,7 @@
 
 				/* Call the cmds function pointer, does either iface_up() or iface_down() */
 				if (cmds(currif) == -1) {
-					bb_error_msg("Don't seem to be have all the variables for %s/%s.",
+					bb_error_msg("Don't seem to have all the variables for %s/%s.",
 							liface, currif->address_family->name);
 				}
 



More information about the busybox-cvs mailing list