[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 lguohan
parent d5af096f41
commit 95466c3ab7

View File

@ -15,7 +15,10 @@ reload_minigraph()
acl-loader update full /etc/sonic/acl.json acl-loader update full /etc/sonic/acl.json
fi fi
config qos reload 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 if [[ -x /usr/bin/db_migrator.py ]]; then
# Set latest version number # Set latest version number