summaryrefslogtreecommitdiff
path: root/recipes/networkmanager/files/no-restarts.diff
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/networkmanager/files/no-restarts.diff')
-rw-r--r--recipes/networkmanager/files/no-restarts.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/networkmanager/files/no-restarts.diff b/recipes/networkmanager/files/no-restarts.diff
new file mode 100644
index 0000000000..20bdf82aab
--- /dev/null
+++ b/recipes/networkmanager/files/no-restarts.diff
@@ -0,0 +1,21 @@
+Index: src/backends/NetworkManagerDebian.c
+===================================================================
+--- src/backends/NetworkManagerDebian.c (revision 2881)
++++ src/backends/NetworkManagerDebian.c (working copy)
+@@ -204,8 +204,6 @@
+ */
+ void nm_system_update_dns (void)
+ {
+- nm_spawn_process ("/usr/sbin/invoke-rc.d nscd restart");
+-
+ }
+
+
+@@ -218,7 +216,6 @@
+ */
+ void nm_system_restart_mdns_responder (void)
+ {
+- nm_spawn_process ("/usr/bin/killall -q -USR1 mDNSResponder");
+ }
+
+