mirror of
https://github.com/brmlab/BLIT.git
synced 2025-06-07 11:23:59 +02:00
5 lines
382 B
Text
5 lines
382 B
Text
# - copy this file to /etc/udev/rules.d directory;
|
|
# - modify 2 paths below: they should match your real path to my-udev-notify.sh
|
|
|
|
ACTION=="add", RUN+="/bin/bash /usr/local/bin/my-udev-notify.sh -a add -p '%p' -b '$attr{busnum}' -d '$attr{devnum}'"
|
|
ACTION=="remove", RUN+="/bin/bash /usr/local/bin/my-udev-notify.sh -a remove -p '%p' -b '$attr{busnum}' -d '$attr{devnum}'"
|