aboutsummaryrefslogtreecommitdiff
path: root/netcfg
diff options
context:
space:
mode:
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