diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-01 16:10:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-01 16:10:40 +0200 |
commit | 16c953a07f0c132e7f86efca7effbe46dc41038d (patch) | |
tree | 07d363de4f98033bc7824c97b4232b1ee3877330 | |
parent | 467b9ceb67382d2e6dc2a8ce3839f90b618fa7a2 (diff) | |
parent | 157ffda4a95ba13aa23df9e77a5eec0c201384a8 (diff) | |
download | vyatta-cfg-16c953a07f0c132e7f86efca7effbe46dc41038d.tar.gz vyatta-cfg-16c953a07f0c132e7f86efca7effbe46dc41038d.zip |
Merge pull request #39 from sever-sever/T3217-eq
vyos-router: T3217: mount frr.conf to /run/frr/config
-rwxr-xr-x | scripts/init/vyos-router | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/init/vyos-router b/scripts/init/vyos-router index 5912733..d2d2da8 100755 --- a/scripts/init/vyos-router +++ b/scripts/init/vyos-router @@ -190,6 +190,14 @@ start () # a requirement for netns support mkdir -p /var/run/netns + # Fixup for FRR save configs T3217 + mkdir -p /run/frr/config + echo "log syslog" > /run/frr/config/frr.conf + echo "log facility local7" >> /run/frr/config/frr.conf + chown -R root:frrvty /run/frr/config/frr.conf + chmod 775 /run/frr/config/frr.conf + mount --bind /run/frr/config/frr.conf /etc/frr/frr.conf + # chown the config dir to give all admins access chown -R root:frrvty /etc/frr chmod 775 /etc/frr |