Skip to content

Commit

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

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

* Advance sonic-quagga submodule
  • Loading branch information
pavel-shirshov authored and yxieca committed Aug 21, 2019
1 parent 66245e2 commit b715ec8
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 b715ec8

Please sign in to comment.