From 76cd998201c30aed34af8cca8ada7da1095444ab Mon Sep 17 00:00:00 2001 From: afeigin Date: Tue, 2 Jul 2024 10:03:31 +0300 Subject: [PATCH] Use temp view also in fast-reboot --- syncd/scripts/syncd_init_common.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/syncd/scripts/syncd_init_common.sh b/syncd/scripts/syncd_init_common.sh index db36529d2..81b94ff33 100644 --- a/syncd/scripts/syncd_init_common.sh +++ b/syncd/scripts/syncd_init_common.sh @@ -26,10 +26,8 @@ else CMD_ARGS= fi -# Use temporary view between init and apply except when in fast-reboot -if [[ "$(cat /proc/cmdline)" != *"SONIC_BOOT_TYPE=fast-reboot"* ]]; then - CMD_ARGS+=" -u" -fi +# Use temporary view between init view and apply view +CMD_ARGS+=" -u" # Create a folder for SAI failure dump files mkdir -p /var/log/sai_failure_dump/