diff --git a/dockers/docker-fpm-frr/docker_init.sh b/dockers/docker-fpm-frr/docker_init.sh index 94107846c7a..8a4db82836f 100755 --- a/dockers/docker-fpm-frr/docker_init.sh +++ b/dockers/docker-fpm-frr/docker_init.sh @@ -100,16 +100,13 @@ fi chown -R frr:frr /etc/frr/ # Create sr0 interface for SRv6 support -SONIC_ASIC_TYPE=$(sed -n 's/^asic_type:[[:space:]]*//p' /etc/sonic/sonic_version.yml) -if [ "$SONIC_ASIC_TYPE" == "vpp" ]; then - if ! ip link show sr0 > /dev/null 2>&1; then - echo "Interface sr0 does not exist. Creating sr0..." - ip link add sr0 type dummy || true - else - echo "Interface sr0 already exists." - fi - ip link set sr0 up || true +if ! ip link show sr0 > /dev/null 2>&1; then + echo "Interface sr0 does not exist. Creating sr0..." + ip link add sr0 type dummy || true +else + echo "Interface sr0 already exists." fi +ip link set sr0 up || true chown root:root /usr/sbin/bgp-isolate chmod 0755 /usr/sbin/bgp-isolate