sonic-buildimage/dockers/docker-saiserver-bfn/start.sh
2017-11-02 17:11:14 -07:00

17 lines
238 B
Bash
Executable File

#!/usr/bin/env bash
start_mlnx()
{
[ -e /dev/sxdevs/sxcdev ] || ( mkdir -p /dev/sxdevs && mknod /dev/sxdevs/sxcdev c 231 193 )
}
rm -f /var/run/rsyslogd.pid
supervisorctl start rsyslogd
start_mlnx
supervisorctl start saiserver