sonic-buildimage/platform/broadcom/docker-syncd-brcm/start.sh

16 lines
361 B
Bash
Raw Normal View History

#!/usr/bin/env bash
PLATFORM_DIR=/usr/share/sonic/platform
rm -f /var/run/rsyslogd.pid
2016-09-09 19:53:41 -05:00
supervisorctl start rsyslogd
2016-09-09 19:53:41 -05:00
supervisorctl start syncd
2016-09-09 19:53:41 -05:00
# 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