mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 18:42:23 +00:00
Merge pull request #4020 from cfra/feature/improve-init-script
tools/frr.in: Only attempt to load daemons.conf if present
This commit is contained in:
commit
860ff05896
@ -504,7 +504,9 @@ check_status()
|
||||
|
||||
# Load configuration
|
||||
. "$C_PATH/daemons"
|
||||
. "$C_PATH/daemons.conf"
|
||||
if [ -e "$C_PATH/daemons.conf" ]; then
|
||||
. "$C_PATH/daemons.conf"
|
||||
fi
|
||||
|
||||
# Read configuration variable file if it is present
|
||||
[ -r /etc/default/frr ] && . /etc/default/frr
|
||||
|
Loading…
Reference in New Issue
Block a user