[arch-projects] [netcfg] [PATCH] Kill dhclient along with dhcpcd when performing cleanups.

Ivan Shapovalov intelfx100 at gmail.com
Tue Oct 2 13:59:37 EDT 2012


For the sake of completeness and not leaving any garbage behind us.

Signed-off-by: Ivan Shapovalov <intelfx100 at gmail.com>
---
 scripts/netcfg | 1 +
 1 file changed, 1 insertion(+)

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
-- 
1.7.12.2



More information about the arch-projects mailing list