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

18 lines
347 B
Bash
Raw Normal View History

#!/usr/bin/env bash
start_bcm()
{
[ -e /dev/linux-bcm-knet ] || mknod /dev/linux-bcm-knet c 122 0
[ -e /dev/linux-user-bde ] || mknod /dev/linux-user-bde c 126 0
[ -e /dev/linux-kernel-bde ] || mknod /dev/linux-kernel-bde c 127 0
}
rm -f /var/run/rsyslogd.pid
supervisorctl start rsyslogd
start_bcm
supervisorctl start saiserver