]> git.proxmox.com Git - mirror_frr.git/commitdiff
redhat: check if frr.conf already exists
authorKarel Van Hecke <25814162+karelvanhecke@users.noreply.github.com>
Wed, 17 Nov 2021 10:06:23 +0000 (11:06 +0100)
committerKarel Van Hecke <25814162+karelvanhecke@users.noreply.github.com>
Wed, 17 Nov 2021 10:06:23 +0000 (11:06 +0100)
Signed-off-by: Karel Van Hecke <25814162+karelvanhecke@users.noreply.github.com>
redhat/frr.spec.in

index 229104baff1659642921b779485990672cef1eb0..04a3258980cf14a808b18ad128e1be8a7200fe23 100644 (file)
@@ -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}