* fix fast reboot compatibility (#3083) and advance sai-redis/201811 point * Repoint the submodule
This commit is contained in:
parent
a6fa4d1fcc
commit
588c687a27
@ -7,15 +7,15 @@ function getMountPoint()
|
||||
|
||||
function getBootType()
|
||||
{
|
||||
local BOOT_TYPE
|
||||
case "$(cat /proc/cmdline | grep -o 'SONIC_BOOT_TYPE=\S*' | cut -d'=' -f2)" in
|
||||
warm*)
|
||||
# same code snippet in files/scripts/syncd.sh
|
||||
case "$(cat /proc/cmdline)" in
|
||||
*SONIC_BOOT_TYPE=warm*)
|
||||
TYPE='warm'
|
||||
;;
|
||||
fastfast)
|
||||
*SONIC_BOOT_TYPE=fastfast*)
|
||||
TYPE='fastfast'
|
||||
;;
|
||||
fast*)
|
||||
*SONIC_BOOT_TYPE=fast*|*fast-reboot*)
|
||||
TYPE='fast'
|
||||
;;
|
||||
*)
|
||||
|
@ -55,14 +55,15 @@ function wait_for_database_service()
|
||||
|
||||
function getBootType()
|
||||
{
|
||||
case "$(cat /proc/cmdline | grep -o 'SONIC_BOOT_TYPE=\S*' | cut -d'=' -f2)" in
|
||||
warm*)
|
||||
# same code snippet in files/build_templates/docker_image_ctl.j2
|
||||
case "$(cat /proc/cmdline)" in
|
||||
*SONIC_BOOT_TYPE=warm*)
|
||||
TYPE='warm'
|
||||
;;
|
||||
fastfast)
|
||||
*SONIC_BOOT_TYPE=fastfast*)
|
||||
TYPE='fastfast'
|
||||
;;
|
||||
fast*)
|
||||
*SONIC_BOOT_TYPE=fast*|*fast-reboot*)
|
||||
TYPE='fast'
|
||||
;;
|
||||
*)
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit d027eae034d538febe9fdb62682745a6b39a79ee
|
||||
Subproject commit c350c544f34dbb0706b9102f1f49f1d0af835796
|
Loading…
Reference in New Issue
Block a user