[broadcom]: fix delay to load led proc init (#1940)

led start bcm cmd triggers link state notifications.
This is quick fix to avoid such fake link state notifications.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
This commit is contained in:
lguohan 2018-08-16 23:11:45 -07:00 committed by GitHub
parent 86205b858a
commit ec8a7f5e54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,11 +29,13 @@ wait_syncd() {
fi
sleep 1
done
# wait until bcm sdk is ready to get a request
sleep 3
}
# If this platform has an initialization file for the Broadcom LED microprocessor, load it
if [ -r ${PLATFORM_DIR}/led_proc_init.soc ]; then
wait_syncd
sleep 60 # wait until bcm sdk is ready to get a request
supervisorctl start ledinit
fi