Blob Blame History Raw
diff -up NetworkManager-1.0.0/src/settings/plugins/ifcfg-rh/reader.c.0007.rh1160013.routing-rules.orig NetworkManager-1.0.0/src/settings/plugins/ifcfg-rh/reader.c
--- NetworkManager-1.0.0/src/settings/plugins/ifcfg-rh/reader.c.0007.rh1160013.routing-rules.orig	2015-01-29 13:40:45.873984094 -0500
+++ NetworkManager-1.0.0/src/settings/plugins/ifcfg-rh/reader.c	2015-01-29 13:43:14.976072985 -0500
@@ -1099,7 +1099,8 @@ make_ip4_setting (shvarFile *ifcfg,
 	route_path = utils_get_route_path (ifcfg->fileName);
 
 	if (utils_has_complex_routes (route_path)) {
-		PARSE_WARNING ("'rule-' or 'rule6-' file is present; you will need to use a dispatcher script to apply these routes");
+		if (!g_file_test ("/etc/NetworkManager/dispatcher.d/10-ifcfg-rh-routes.sh", G_FILE_TEST_EXISTS))
+			PARSE_WARNING ("'rule-' or 'rule6-' file is present; install the NetworkManager-config-routing-rules package to enable these routes");
 	} else if (utils_has_route_file_new_syntax (route_path)) {
 		/* Parse route file in new syntax */
 		route_ifcfg = utils_get_route_ifcfg (ifcfg->fileName, FALSE);