mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 09:22:32 +00:00
redhat: keep check for zebra.conf to check for per daemon configs
Signed-off-by: Karel Van Hecke <25814162+karelvanhecke@users.noreply.github.com>
This commit is contained in:
parent
97cfc10a34
commit
bc6ea7ae8e
@ -564,8 +564,8 @@ zebra_spec_add_service fabricd 2618/tcp "Fabricd vty"
|
|||||||
/sbin/install-info %{_infodir}/frr.info.gz %{_infodir}/dir
|
/sbin/install-info %{_infodir}/frr.info.gz %{_infodir}/dir
|
||||||
|
|
||||||
# Create dummy config file if they don't exist so basic functions can be used.
|
# Create dummy config file if they don't exist so basic functions can be used.
|
||||||
if [ ! -e %{configdir}/frr.conf ]; then
|
if [ ! -e %{configdir}/frr.conf ] && [ ! -e %{configdir}/zebra.conf ]; then
|
||||||
# per daemon configs exist
|
# No frr.conf and per daemon configs exist
|
||||||
mv %{configdir}/frr.conf.template %{configdir}/frr.conf
|
mv %{configdir}/frr.conf.template %{configdir}/frr.conf
|
||||||
%if 0%{?frr_user:1}
|
%if 0%{?frr_user:1}
|
||||||
chown %{frr_user}:%{frr_user} %{configdir}/frr.conf
|
chown %{frr_user}:%{frr_user} %{configdir}/frr.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user