add EPMS devicetype (#7255)

This commit is contained in:
Sumukha Tumkur Vani 2021-04-09 12:44:31 -07:00 committed by GitHub
parent 273f99d0e5
commit b6ca3bd5bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ reload_minigraph()
echo "Missing tacacs json to restore tacacs credentials"
fi
DEVICE_TYPE=`sonic-cfggen -m -v DEVICE_METADATA.localhost.type`
if [ "${DEVICE_TYPE}" != "MgmtToRRouter" ]; then
if [[ "${DEVICE_TYPE}" != "MgmtToRRouter" && "${DEVICE_TYPE}" != "EPMS" ]]; then
pfcwd start_default
fi