aboutsummaryrefslogtreecommitdiff
path: root/netcfg
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 /netcfg
parentcfaa5552fcbe964a172138e5e6c87e54abb6ce4c (diff)
downloadinitscripts-f45c3abd5697fa89d1a6431d8dbf5e96e6804ca8.tar.xz
Added interface param to dhcpcd -k calls in network and netcfg
Diffstat (limited to 'netcfg')
-rwxr-xr-xnetcfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/netcfg b/netcfg
index 25451c6..6582d3d 100755
--- a/netcfg
+++ b/netcfg
@@ -52,7 +52,7 @@ stop_profile()
[ "$USEWPA" = "yes" -o "$USEWPA" = "YES" ] && wpa_cli terminate >/dev/null 2>&1
# bring down dhcpcd if we're using it
- [ "$IFOPTS" = "dhcp" -o "$IFOPTS" = "DHCP" ] && dhcpcd -k
+ [ "$IFOPTS" = "dhcp" -o "$IFOPTS" = "DHCP" ] && dhcpcd -k $INTERFACE
# bring down the interface itself
ifconfig $INTERFACE down