[PATCH] Make sure to kill NM 0.7 system settings daemon on restart (lp: #410244).



---
 initscript/Debian/NetworkManager.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/initscript/Debian/NetworkManager.in b/initscript/Debian/NetworkManager.in
index 9cc254e..e75e81c 100755
--- a/initscript/Debian/NetworkManager.in
+++ b/initscript/Debian/NetworkManager.in
@@ -58,6 +58,8 @@ d_stop() {
 	start-stop-daemon --stop --retry 5 --quiet --pidfile $PIDFILE \
 		 --oknodo --user $USER --exec $DAEMON
  
+	# if found, kill NM 0.7 settings daemon
+	killall -q nm-system-settings || true
 }
 
 
-- 
1.6.3.3


--------------030108070102020704020104--


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]