updated config services frr to match standard frr service
This commit is contained in:
parent
d128f2425d
commit
44bf4e020c
1 changed files with 10 additions and 0 deletions
|
@ -74,6 +74,9 @@ bootfrr()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bootdaemon "zebra"
|
bootdaemon "zebra"
|
||||||
|
if grep -q "^ip route " $FRR_CONF; then
|
||||||
|
bootdaemon "staticd"
|
||||||
|
fi
|
||||||
for r in rip ripng ospf6 ospf bgp babel; do
|
for r in rip ripng ospf6 ospf bgp babel; do
|
||||||
if grep -q "^router \\<$${}{r}\\>" $FRR_CONF; then
|
if grep -q "^router \\<$${}{r}\\>" $FRR_CONF; then
|
||||||
bootdaemon "$${}{r}d"
|
bootdaemon "$${}{r}d"
|
||||||
|
@ -93,3 +96,10 @@ if [ "$1" != "zebra" ]; then
|
||||||
fi
|
fi
|
||||||
confcheck
|
confcheck
|
||||||
bootfrr
|
bootfrr
|
||||||
|
|
||||||
|
# reset interfaces
|
||||||
|
% for ifc, _, _ , _ in interfaces:
|
||||||
|
ip link set dev ${ifc.name} down
|
||||||
|
sleep 1
|
||||||
|
ip link set dev ${ifc.name} up
|
||||||
|
% endfor
|
||||||
|
|
Loading…
Add table
Reference in a new issue