Skip to content

Commit

Permalink
[Fast-Reboot]: FR mode is active only first 3 minutes after start. (s…
Browse files Browse the repository at this point in the history
…onic-net#3352)

* Fast reboot mode should be enabled only 3 minutes after restart

* Advance sonic-quagga submodule
  • Loading branch information
pavel-shirshov authored and wangshengjun committed Apr 28, 2020
1 parent 52f31b3 commit 3ed7cb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion files/scripts/syncd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-quagga

0 comments on commit 3ed7cb7

Please sign in to comment.