summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-03-12 16:57:55 +0100
committerDaniil Baturin <daniil@baturin.org>2019-03-12 16:57:55 +0100
commit420587518a0e844d335688b6d1eea6f1d18e18fc (patch)
treeb02daa5d634aae41913bf8ad7a60023b6f69248b
parent452ec47c85932a0dede6b2398b1673c9f07a1bf9 (diff)
downloadvyatta-cfg-420587518a0e844d335688b6d1eea6f1d18e18fc.tar.gz
vyatta-cfg-420587518a0e844d335688b6d1eea6f1d18e18fc.zip
Update the startup script for FRR post 7.0 start procedure.
-rwxr-xr-xscripts/init/vyos-router6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/init/vyos-router b/scripts/init/vyos-router
index adeda2e..a211795 100755
--- a/scripts/init/vyos-router
+++ b/scripts/init/vyos-router
@@ -179,9 +179,13 @@ start ()
# a requirement for netns support
mkdir -p /var/run/netns
+ # 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/frr start
+ /usr/lib/frr/frrinit.sh start
log_action_begin_msg "Mounting VyOS Config"
# ensure the vyatta_configdir supports a large number of inodes since