summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-05-23 19:05:40 -0300
committerDan Winship <danw@gnome.org>2013-06-14 12:57:47 -0300
commit1f81851017578086f7c502844ab24d0ecb730fad (patch)
tree02c3ff279b2a63b55274ca6bef8613a59a878a3d /data
parent4b74009b234afc98d1e57bae4f74b1918258498c (diff)
core: add monitor-connection-files=false and ReloadConnections
Add a "monitor-connection-files" config option, which can be set to "false" to disable automatic reloading of connections on file change. To go with this, add a new ReloadConnections method on o.fd.NM.Settings that can be used to manually reload connections, and add an nm-cli command to call it.
Diffstat (limited to 'data')
-rw-r--r--data/server.conf.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/server.conf.in b/data/server.conf.in
index 757636389b..031fbebcdc 100644
--- a/data/server.conf.in
+++ b/data/server.conf.in
@@ -4,6 +4,15 @@
[main]
+# Normally, NetworkManager reloads connection files on disk any time
+# they are changed. Setting "monitor-connection-files=false" will
+# disable this behavior, and NetworkManager will then only read
+# connection files at startup, and when explicitly requested via
+# D-Bus.
+
+#monitor-connection-files=false
+
+
# Normally, if there is an ethernet device that is not matched by any
# existing configured connection, NetworkManager will create a
# "default" connection for that device, using automatic (DHCP/SLAAC)