sonic-buildimage/platform/broadcom/docker-syncd-brcm/start.sh
Joe LeVeque c2c232a161 Add Broadcom LED microprocessor initialization for Dell S6000 (#726)
* Add Broadcom LED microprocessor initialization for Dell S6000

* Increase bcmcmd timeout to 60 seconds
2017-06-20 16:37:06 -07:00

16 lines
361 B
Bash
Executable File

#!/usr/bin/env bash
PLATFORM_DIR=/usr/share/sonic/platform
rm -f /var/run/rsyslogd.pid
supervisorctl start rsyslogd
supervisorctl start syncd
# If this platform has an initialization file for the Broadcom LED microprocessor, load it
if [ -r ${PLATFORM_DIR}/led_proc_init.soc ]; then
/usr/bin/bcmcmd -t 60 "rcload ${PLATFORM_DIR}/led_proc_init.soc"
fi