summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-17 21:30:02 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-17 21:30:15 +0200
commitb86ab2eaf6c925e08d4424476429fda1aa6d4517 (patch)
tree5e4cc6a375e19952ce44148de47dda89bf69c2d1 /scripts
parent6d9ff7bb5845b5d54604f6a226ab2178ddc2e680 (diff)
downloadvyatta-cfg-b86ab2eaf6c925e08d4424476429fda1aa6d4517.tar.gz
vyatta-cfg-b86ab2eaf6c925e08d4424476429fda1aa6d4517.zip
frr: T4536: start via systemd
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/init/vyos-router21
1 files changed, 0 insertions, 21 deletions
diff --git a/scripts/init/vyos-router b/scripts/init/vyos-router
index 3b7ad02..8345890 100755
--- a/scripts/init/vyos-router
+++ b/scripts/init/vyos-router
@@ -286,27 +286,6 @@ start ()
# Generate DHCPv6 DUID
gen_duid || log_failure_msg "could not generate DUID"
- # Fixup for FRR
- # In 5.1 master, zebra thinks existence of /var/run/netns is
- # 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
-
- # Since systemd doesn't work without watchfrr and watchfrr restarts
- # all daemons if just one failed, do the start manually
- /usr/lib/frr/frrinit.sh start
-
# Mount a temporary filesystem for container networks.
# Configuration should be loaded from VyOS cli.
cni_dir="/etc/cni/net.d"