diff options
author | Loïc Collignon <loic.collignon@iot.bzh> | 2017-06-26 16:26:48 +0200 |
---|---|---|
committer | Loïc Collignon <loic.collignon@iot.bzh> | 2017-06-26 16:26:48 +0200 |
commit | 5d1379dce97d98a03adc75122c0c9ecb533dc0b5 (patch) | |
tree | 09b5c1bc9afd0c4cfd17eba2e524b7b5ee2c91dd /samples | |
parent | 554f373cfa2e47253072b439ff1ad1e0d14682a7 (diff) |
added udev's rule sample.
Change-Id: If9e34127d6f06cfafc5ef7a307d5ce1691901fc5
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/etc/udev/rules.d/99-agl-identity.rules | 2 |
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 |