We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3808e4c commit c58d259Copy full SHA for c58d259
syncd/scripts/syncd_init_common.sh
@@ -52,7 +52,8 @@ case "$(cat /proc/cmdline)" in
52
;;
53
*SONIC_BOOT_TYPE=fast*|*fast-reboot*)
54
# check that the key exists
55
- if [[ $(sonic-db-cli STATE_DB GET "FAST_REBOOT|system") == "1" ]]; then
+ SYSTEM_FAST_REBOOT=`sonic-db-cli STATE_DB GET "FAST_RESTART_ENABLE_TABLE|system"`
56
+ if [[ ${SYSTEM_FAST_REBOOT} == "enable" ]]; then
57
FAST_REBOOT='yes'
58
else
59
FAST_REBOOT='no'
0 commit comments