misc: add sample udev rule

Its possible for irqbalance to miss device adds/removes during its sleep
time. These udev rules can help fix that.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
This commit is contained in:
Neil Horman 2017-08-08 14:10:07 -04:00 committed by Neil Horman
parent ca43aa4d65
commit 10bb3d63d4
1 changed files with 5 additions and 0 deletions

5
misc/90-irqbalance.rules Normal file
View File

@ -0,0 +1,5 @@
# Udev rules for irqbalance. On every device add or remove, we want to rescan
# our irq list to make sure it hasn't changed
#
ACTION=="add|remove", RUN+="/usr/bin/killall -SIGHUP irqbalance"