diff options
author | Thomas Haller <thaller@redhat.com> | 2017-12-20 10:42:41 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-12-21 10:50:33 +0100 |
commit | 0474441e2258eeecb356e2aa3cde5c7328828646 (patch) | |
tree | 25c879d620c6290fb95b15299c4295529f0049f0 /src/settings/nm-settings.c | |
parent | 298d156e36a8ce1b4008167fcea986955651aab9 (diff) | |
download | NetworkManager-0474441e2258eeecb356e2aa3cde5c7328828646.tar.gz |
settings: drop unmaintained ifnet settings plugin of Gentoo
Even Gentoo disables this plugin since before 0.9.8 release
of NetworkManager. Time to say goodbye.
If somebody happens to show up to maintain it, we may resurrect it
later.
If "$distro_plugins=ifnet" was set, configure.ac would use that
to autodetect --with-hostname-persist=gentoo. Replace that autodetect
part by checking for /etc/gentoo-release file.
Diffstat (limited to 'src/settings/nm-settings.c')
-rw-r--r-- | src/settings/nm-settings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings/nm-settings.c b/src/settings/nm-settings.c index 51b7bea7a5..5c617e9d2d 100644 --- a/src/settings/nm-settings.c +++ b/src/settings/nm-settings.c @@ -677,8 +677,8 @@ load_plugins (NMSettings *self, const char **plugins, GError **error) continue; } - if (!strcmp (pname, "ifcfg-suse")) { - _LOGW ("skipping deprecated plugin ifcfg-suse"); + if (NM_IN_STRSET (pname, "ifcfg-suse", "ifnet")) { + _LOGW ("skipping deprecated plugin %s", pname); continue; } |