2016-09-23 23:23:43 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
function clean_up {
|
|
|
|
service rsyslog stop
|
|
|
|
}
|
|
|
|
|
|
|
|
start_mlnx()
|
|
|
|
{
|
|
|
|
[ -e /dev/sxdevs/sxcdev ] || ( mkdir -p /dev/sxdevs && mknod /dev/sxdevs/sxcdev c 231 193 )
|
|
|
|
}
|
|
|
|
|
|
|
|
trap clean_up SIGTERM SIGKILL
|
|
|
|
|
2017-03-29 20:07:25 -05:00
|
|
|
rm -f /var/run/rsyslogd.pid
|
2016-09-23 23:23:43 -05:00
|
|
|
service rsyslog start
|
|
|
|
|
|
|
|
start_mlnx
|
|
|
|
|
|
|
|
/usr/bin/saiserver -p /etc/sai/profile.ini -f /etc/sai/portmap.ini
|