#!/bin/bash

#echo "I am in ${0}"

# set IRQ priority=92 for all EtherCAT kernel threads (default is 50)
# This is only working if generic driver is in use. If igb, which is default, then ignore any errors from the below
source /etc/ethercat.conf
for dev in $LINK_DEVICES
do
  /usr/local/bin/set-irq-threads-priority.sh $dev 92
done
