summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx100@gmail.com>2012-10-02 19:59:37 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-10-12 15:22:20 +0200
commit9ba28eff8605670bca2307ff6f79cb4d3ce46bb3 (patch)
tree66fdc26a0f363ce64052998c93e11dd0a3b7be25
parent326cfb83b80103d90ad6ded579592ada22416f6d (diff)
downloadnetctl-9ba28eff8605670bca2307ff6f79cb4d3ce46bb3.tar.gz
netctl-9ba28eff8605670bca2307ff6f79cb4d3ce46bb3.tar.xz
Kill dhclient along with dhcpcd when performing cleanups.
For the sake of completeness and not leaving any garbage behind us. Signed-off-by: Ivan Shapovalov <intelfx100@gmail.com>
-rwxr-xr-xscripts/netcfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/netcfg b/scripts/netcfg
index 50e8528..dc5ebde 100755
--- a/scripts/netcfg
+++ b/scripts/netcfg
@@ -87,6 +87,7 @@ case "$1" in
rm "$STATE_DIR/netcfg-daemon" 2> /dev/null
killall wpa_supplicant 2> /dev/null
killall dhcpcd 2> /dev/null
+ killall dhclient 2> /dev/null
;;
-*|--*)
usage