summaryrefslogtreecommitdiff
path: root/scripts/init
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:58:30 +0100
commit3f551a2b4bbd5dfd90a98ce0e7434a9ff432a84d (patch)
tree7a16fe02478d23ee8d0fbc5be8697acfdf5f8077 /scripts/init
parent53659fb9e337cd1db05ff2993f7f2dcba6cb0de0 (diff)
downloadvyatta-cfg-3f551a2b4bbd5dfd90a98ce0e7434a9ff432a84d.tar.gz
vyatta-cfg-3f551a2b4bbd5dfd90a98ce0e7434a9ff432a84d.zip
Update the startup script for FRR post 7.0 start procedure.
Diffstat (limited to 'scripts/init')
-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