diff --git a/Makefile.am b/Makefile.am index 0f13358ccb..a123d1fa1f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4148,6 +4148,7 @@ data_edit = sed \ -e 's|@sbindir[@]|$(sbindir)|g' \ -e 's|@sysconfdir[@]|$(sysconfdir)|g' \ -e 's|@nmrundir[@]|$(nmrundir)|g' \ + -e 's|@nmstatedir[@]|$(nmstatedir)|g' \ -e 's|@localstatedir[@]|$(localstatedir)|g' \ -e 's|@libexecdir[@]|$(libexecdir)|g' \ -e 's|@DISTRO_NETWORK_SERVICE[@]|$(DISTRO_NETWORK_SERVICE)|g' \ diff --git a/man/NetworkManager.conf.xml b/man/NetworkManager.conf.xml index 1e1d0aab15..8773e6e916 100644 --- a/man/NetworkManager.conf.xml +++ b/man/NetworkManager.conf.xml @@ -204,7 +204,7 @@ plugins-=remove-me When the default wired connection is deleted or saved to a new persistent connection by a plugin, the device is added to a list in the file - /run/NetworkManager/no-auto-default.state + &nmstatedir;/no-auto-default.state to prevent creating the default connection for that device again. See for the syntax how to diff --git a/man/common.ent.in b/man/common.ent.in index ddfbb69a69..9632b4efba 100644 --- a/man/common.ent.in +++ b/man/common.ent.in @@ -2,6 +2,7 @@ + diff --git a/man/meson.build b/man/meson.build index 21fac21d1d..4c33ff30e8 100644 --- a/man/meson.build +++ b/man/meson.build @@ -2,6 +2,7 @@ common_conf = configuration_data() common_conf.set('NM_VERSION', nm_version) common_conf.set('sysconfdir', nm_sysconfdir) common_conf.set('nmrundir', nm_pkgrundir) +common_conf.set('nmstatedir', nm_pkgstatedir) common_conf.set('NM_CONFIG_DEFAULT_MAIN_AUTH_POLKIT_TEXT', config_default_main_auth_polkit) common_conf.set('NM_CONFIG_DEFAULT_LOGGING_BACKEND_TEXT', config_logging_backend_default) common_conf.set('NM_CONFIG_DEFAULT_LOGGING_AUDIT_TEXT', config_default_logging_audit)