Skip to content

Commit 3ed7cb7

Browse files
pavel-shirshovwangshengjun
authored andcommitted
[Fast-Reboot]: FR mode is active only first 3 minutes after start. (sonic-net#3352)
* Fast reboot mode should be enabled only 3 minutes after restart * Advance sonic-quagga submodule
1 parent 52f31b3 commit 3ed7cb7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

files/scripts/syncd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function getBootType()
6464
TYPE='fastfast'
6565
;;
6666
*SONIC_BOOT_TYPE=fast*|*fast-reboot*)
67-
TYPE='fast'
67+
TYPE=$(awk '{ if ($1 <= 180) print "fast"; else print "cold" }' /proc/uptime)
6868
;;
6969
*)
7070
TYPE='cold'

src/sonic-quagga

0 commit comments

Comments
 (0)