#!/bin/sh

# This is run by systemd from the sx_sdk unit file.

# check and update firmware if needed
/usr/lib/cumulus/mlxfwupgrade.sx

#Drivers are always reloaded to force firmware reset
/usr/lib/cumulus/sxdkernel start

exec /usr/sbin/sx_sdk --syslog
