Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
+ # Fix permissions of configuration directory
+ if [ -d "/etc/frr" ]; then
+ chown root.frr /etc/frr
+ chmod 775 /etc/frr
+ fi
+
for daemon in ${DAEMONS}; do
if [ -f "/etc/frr/${daemon}.conf" ]; then
for daemon in ${DAEMONS}; do
if [ -f "/etc/frr/${daemon}.conf" ]; then
+ # Set permissions
+ chown frr.frr "/etc/frr/${daemon}.conf"
+
boot_mesg "Starting FRRouting ${daemon}..."
loadproc "/usr/sbin/${daemon}" --daemon
fi
boot_mesg "Starting FRRouting ${daemon}..."
loadproc "/usr/sbin/${daemon}" --daemon
fi