From 8facac914993cd48d7bdbf1ca55efd1a9412f623 Mon Sep 17 00:00:00 2001 From: pavel-shirshov Date: Mon, 19 Aug 2019 16:05:20 -0700 Subject: [PATCH] [Fast-Reboot]: FR mode is active only first 3 minutes after start. (#3352) * Fast reboot mode should be enabled only 3 minutes after restart * Advance sonic-quagga submodule --- files/scripts/syncd.sh | 2 +- src/sonic-quagga | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/scripts/syncd.sh b/files/scripts/syncd.sh index d4536b4d8b..0c3be805e7 100755 --- a/files/scripts/syncd.sh +++ b/files/scripts/syncd.sh @@ -64,7 +64,7 @@ function getBootType() TYPE='fastfast' ;; *SONIC_BOOT_TYPE=fast*|*fast-reboot*) - TYPE='fast' + TYPE=$(awk '{ if ($1 <= 180) print "fast"; else print "cold" }' /proc/uptime) ;; *) TYPE='cold' diff --git a/src/sonic-quagga b/src/sonic-quagga index b1d01a2dd8..904a350107 160000 --- a/src/sonic-quagga +++ b/src/sonic-quagga @@ -1 +1 @@ -Subproject commit b1d01a2dd841f76e73067171702f7c6321793c49 +Subproject commit 904a350107793d44be7167500fcec9087ca3243b