aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--samples/etc/udev/rules.d/99-agl-identity.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/etc/udev/rules.d/99-agl-identity.rules b/samples/etc/udev/rules.d/99-agl-identity.rules
new file mode 100644
index 0000000..f0dcd79
--- /dev/null
+++ b/samples/etc/udev/rules.d/99-agl-identity.rules
@@ -0,0 +1,2 @@
+SUBSYSTEM=="usb", ACTION=="add", RUN+="/bin/bash ~/agl-identity/udev-script.sh add '%p'"
+SUBSYSTEM=="usb", ACTION=="remove", RUN+="/bin/bash ~/agl-identity/udev-script.sh remove '%p'" \ No newline at end of file