#!/usr/bin/sh

sys="$1"
irq="$2"

dev=$(realpath $sys)
for f in /etc/vstorage/irqbalance-cfg.d/* ; do
    if [ "$(<$f)" = "$dev" ]; then
	echo ban=true
	exit 0
    fi
done

echo ban=false
exit 0
