summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-12-06 06:45:42 +0000
committerJudd Vinet <judd@archlinux.org>2005-12-06 06:45:42 +0000
commitf45c3abd5697fa89d1a6431d8dbf5e96e6804ca8 (patch)
treef1ad5115bb865bb225383e2dbea19befb7d35c48 /network
parentcfaa5552fcbe964a172138e5e6c87e54abb6ce4c (diff)
Added interface param to dhcpcd -k calls in network and netcfg
Diffstat (limited to 'network')
-rwxr-xr-xnetwork2
1 files changed, 1 insertions, 1 deletions
diff --git a/network b/network
index f66303c..b3d13b9 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
+ /sbin/dhcpcd -k ${1}
else
# No .pid file, just bring the interface itself down
/sbin/ifconfig ${1} down