sonic-buildimage/dockers/docker-fpm-frr/base_image_files/TSC

12 lines
185 B
Plaintext
Raw Normal View History

#!/bin/bash
/usr/bin/TS TSC
portstat -p 5
if [[ "$(sonic-cfggen -d -v DEVICE_METADATA.localhost.subtype | tr [:upper:] [:lower:])" == *"dualtor"* ]]
then
echo
show mux status
fi