summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-12-07 00:21:45 +0000
committerJudd Vinet <judd@archlinux.org>2005-12-07 00:21:45 +0000
commitd768a9c95a254e09a34c39aa86840c01cb6d97dd (patch)
tree00952a5e4b0530ab1dd26fa2c7a44908c4ef9247 /network
parentf45c3abd5697fa89d1a6431d8dbf5e96e6804ca8 (diff)
changed both network scripts to use good ol' /bin/kill instead of dhcpcd's -k switch (I forgot about #2942)
Diffstat (limited to 'network')
-rwxr-xr-xnetwork2
1 files changed, 1 insertions, 1 deletions
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