[202012] start_led.sh re-enable LED INIT for warmreboot (#7901)

This commit is contained in:
gechiang 2021-06-17 08:21:14 -07:00 committed by GitHub
parent c46bf41ea5
commit e3151acd41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,9 @@ wait_syncd() {
}
# If this platform has an initialization file for the Broadcom LED microprocessor, load it
if [[ -r "$LED_PROC_INIT_SOC" && ! -f /var/warmboot/warm-starting ]]; then
if [ -r "$LED_PROC_INIT_SOC" ]; then
if [ ! -f /var/warmboot/warm-starting ]; then
wait_syncd
fi
/usr/bin/bcmcmd -t 60 "rcload $LED_PROC_INIT_SOC"
fi