diff options
author | Thomas Haller <thaller@redhat.com> | 2015-06-24 20:11:42 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-07-02 14:21:42 +0200 |
commit | ce0d23bd8ac28531f9e72a5152d757a0da1e46a0 (patch) | |
tree | 5bbc3deeb0496ce24db41fb3565b703458384bd3 /src/supplicant-manager | |
parent | 5f438c43e4fcc533cd326c508585b9e3dae94df5 (diff) | |
download | NetworkManager-ce0d23bd8ac28531f9e72a5152d757a0da1e46a0.tar.gz |
config: add write support for NMConfig
Internal configuration is written as keyfile to
NMSTATEDIR"/NetworkManager-intern.conf"
Basically, the content of this file is merged with user
configuration from "NetworkManager.conf" files. After loading
the configuration, NMConfig exposes a merged view of user-provided
settings and internal overwrites.
All sections/groups named [.intern*] are reserved for internal
configuration values. They can be written by API, but are ignored
when the user sets them via "NetworkManager.conf". For these
internal sections, no conflicts can arise.
We can also overwrite individual properties from user configuration.
In this case, we store the value we want to set, but also remember
the value that the user configuration had, at the time of setting.
If on a later reload the user configuration changed, we ignore our
internal value -- as we assume that the user modified the value
afterwards.
We can also hide/delete value from user configuration.
This works on a per-setting basis.
Diffstat (limited to 'src/supplicant-manager')
0 files changed, 0 insertions, 0 deletions