diff --git a/files/scripts/syncd.sh b/files/scripts/syncd.sh index 628609e0a5..065574e501 100755 --- a/files/scripts/syncd.sh +++ b/files/scripts/syncd.sh @@ -48,7 +48,12 @@ function waitplatform() { BOOT_TYPE=`getBootType` if [[ x"$sonic_asic_platform" == x"mellanox" ]]; then if [[ x"$BOOT_TYPE" = @(x"fast"|x"warm"|x"fastfast") ]]; then - debug "PMON service is delayed by a timer for better fast/warm boot performance" + PMON_TIMER_STATUS=$(systemctl is-active pmon.timer) + if [[ x"$PMON_TIMER_STATUS" = x"inactive" ]]; then + systemctl start pmon.timer + else + debug "PMON service is delayed by a timer for better fast/warm boot performance" + fi else debug "Starting pmon service..." /bin/systemctl start pmon