sonic-buildimage/dockers/docker-saiserver-brcm/start.sh
Joe LeVeque f49cac086f Remove extra trailing newlines at EOF (#804)
Files now end with a single newline
2017-07-12 20:54:37 -07:00

18 lines
347 B
Bash
Executable File

#!/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