File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,11 @@ if [ -z "$CONFIG_TYPE" ] || [ "$CONFIG_TYPE" == "separated" ]; then
8
8
sonic-cfggen -d -y /etc/sonic/deployment_id_asn_map.yml -t /usr/share/sonic/templates/bgpd.conf.j2 > /etc/frr/bgpd.conf
9
9
sonic-cfggen -d -t /usr/share/sonic/templates/zebra.conf.j2 > /etc/frr/zebra.conf
10
10
touch /etc/frr/vtysh.conf
11
+ rm -f /etc/frr/frr.conf
11
12
elif [ " $CONFIG_TYPE " == " unified" ]; then
12
13
sonic-cfggen -d -y /etc/sonic/deployment_id_asn_map.yml -t /usr/share/sonic/templates/frr.conf.j2 > /etc/frr/frr.conf
13
14
echo " service integrated-vtysh-config" > /etc/frr/vtysh.conf
15
+ rm -f /etc/frr/bgpd.conf /etc/frr/vtysh.conf
14
16
fi
15
17
16
18
sonic-cfggen -d -t /usr/share/sonic/templates/isolate.j2 > /usr/sbin/bgp-isolate
@@ -35,7 +37,7 @@ supervisorctl start zebra
35
37
supervisorctl start staticd
36
38
supervisorctl start bgpd
37
39
38
- if [ -z " $CONFIG_TYPE " ] || [ " $CONFIG_TYPE " == " separated " ]; then
40
+ if [ " $CONFIG_TYPE " == " unified " ]; then
39
41
supervisorctl start vtysh_b
40
42
fi
41
43
You can’t perform that action at this time.
0 commit comments