diff --git a/files/scripts/syncd.sh b/files/scripts/syncd.sh index 3c59b168f0e..b1d4f4507b4 100755 --- a/files/scripts/syncd.sh +++ b/files/scripts/syncd.sh @@ -97,6 +97,10 @@ function stopplatform1() { debug "Stopped pmon service" fi + if [[ x$sonic_asic_platform == x"mellanox" ]]; then + echo "health_check_trigger del_dev 1" > /proc/mlx_sx/sx_core + fi + if [[ x$sonic_asic_platform != x"mellanox" ]] || [[ x$TYPE != x"cold" ]]; then # Invoke platform specific pre shutdown routine. PLATFORM=`$SONIC_DB_CLI CONFIG_DB hget 'DEVICE_METADATA|localhost' platform`