summaryrefslogtreecommitdiff
path: root/redhat
diff options
context:
space:
mode:
authorKarel Van Hecke <25814162+karelvanhecke@users.noreply.github.com>2021-11-17 11:06:23 +0100
committerKarel Van Hecke <25814162+karelvanhecke@users.noreply.github.com>2021-11-17 11:06:23 +0100
commit97cfc10a341584ba1c582449c688a0f7962d2aaf (patch)
treead1c59ef7df4b80107fd84479b863e67e5abd551 /redhat
parentab7e3ba180581933c32ab4ab9c8325e55a8b0e85 (diff)
redhat: check if frr.conf already exists
Signed-off-by: Karel Van Hecke <25814162+karelvanhecke@users.noreply.github.com>
Diffstat (limited to 'redhat')
-rw-r--r--redhat/frr.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in
index 229104baff..04a3258980 100644
--- a/redhat/frr.spec.in
+++ b/redhat/frr.spec.in
@@ -564,7 +564,7 @@ zebra_spec_add_service fabricd 2618/tcp "Fabricd vty"
/sbin/install-info %{_infodir}/frr.info.gz %{_infodir}/dir
# Create dummy config file if they don't exist so basic functions can be used.
-if [ ! -e %{configdir}/zebra.conf ]; then
+if [ ! -e %{configdir}/frr.conf ]; then
# per daemon configs exist
mv %{configdir}/frr.conf.template %{configdir}/frr.conf
%if 0%{?frr_user:1}