[pfcwd]: Do not start pfc watchdog on Management Tor (#3719)

Signed-off-by: Neetha John <nejo@microsoft.com>
This commit is contained in:
Neetha John 2019-11-06 18:51:02 -08:00 committed by Ying Xie
parent 9167f9da46
commit 6d23e4c8d7

View File

@ -15,7 +15,10 @@ reload_minigraph()
acl-loader update full /etc/sonic/acl.json
fi
config qos reload
pfcwd start_default
DEVICE_TYPE=`sonic-cfggen -m -v DEVICE_METADATA.localhost.type`
if [ "${DEVICE_TYPE}" != "MgmtToRRouter" ]; then
pfcwd start_default
fi
if [[ -x /usr/bin/db_migrator.py ]]; then
# Set latest version number