From d768a9c95a254e09a34c39aa86840c01cb6d97dd Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Wed, 7 Dec 2005 00:21:45 +0000 Subject: changed both network scripts to use good ol' /bin/kill instead of dhcpcd's -k switch (I forgot about #2942) --- network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'network') diff --git a/network b/network index b3d13b9..5e33cc9 100755 --- a/network +++ b/network @@ -58,7 +58,7 @@ ifdown() eval ifcfg="\$${1}" if [ "$ifcfg" = "dhcp" ]; then if [ -f /etc/dhcpc/dhcpcd-${1}.pid ]; then - /sbin/dhcpcd -k ${1} + kill `cat /etc/dhcpc/dhcpcd-${1}.pid` else # No .pid file, just bring the interface itself down /sbin/ifconfig ${1} down -- cgit v1.2.3-54-g00ecf