From e041fabcfddea83966d677f81954bfb602a87aa1 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 17 Jan 2011 23:12:24 -0600 Subject: [PATCH] ifcfg-rh: don't try to parse non-ifcfg files at startup --- system-settings/plugins/ifcfg-rh/plugin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system-settings/plugins/ifcfg-rh/plugin.c b/system-settings/plugins/ifcfg-rh/plugin.c index f99348df9d..b718574a19 100644 --- a/system-settings/plugins/ifcfg-rh/plugin.c +++ b/system-settings/plugins/ifcfg-rh/plugin.c @@ -181,7 +181,8 @@ read_connections (SCPluginIfcfg *plugin) continue; full_path = g_build_filename (IFCFG_DIR, item, NULL); - _internal_new_connection (plugin, full_path, NULL, NULL); + if (utils_get_ifcfg_name (full_path, TRUE)) + _internal_new_connection (plugin, full_path, NULL, NULL); g_free (full_path); }