From 7481c64ad5068130d92066b1155e6933f8c39655 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 16 Dec 2013 14:42:40 -0500 Subject: systemd: add "Before=network.service" on Fedora/RHEL (rh #1034983) On Fedora/RHEL, NetworkManager.service needs to be started before network.service, or else network.service may try to bring up NM's devices itself. --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f19b9adea3..b525de633b 100644 --- a/configure.ac +++ b/configure.ac @@ -110,6 +110,12 @@ AM_CONDITIONAL(CONFIG_PLUGIN_IFCFG_RH, test "$enable_ifcfg_rh" = "yes") AM_CONDITIONAL(CONFIG_PLUGIN_IFCFG_SUSE, test "$enable_ifcfg_suse" = "yes") AM_CONDITIONAL(CONFIG_PLUGIN_IFUPDOWN, test "$enable_ifupdown" = "yes") AM_CONDITIONAL(CONFIG_PLUGIN_IFNET, test "$enable_ifnet" = "yes") + +if test "$enable_ifcfg_rh" = "yes"; then + DISTRO_NETWORK_SERVICE=network.service +fi +AC_SUBST(DISTRO_NETWORK_SERVICE) + # Code coverage GNOME_CODE_COVERAGE -- cgit v1.2.1