sonic-buildimage/dockers/docker-saiserver-mlnx/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

16 lines
237 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