aboutsummaryrefslogtreecommitdiff
path: root/99-marsond.rules.in
blob: 5a81b59569e9d211575ec2db9f9cb2f1f217312e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# udev rule for marsond.

# based on this tutorial:
# https://linuxconfig.org/tutorial-on-how-to-write-basic-udev-rules-in-linux

# should be installed to /etc/udev/rules.d/99-marsond.rules
# (but NOT /lib/udev...)

# if you need a user other than "nobody", you can add:
# ENV{MARSOND_USER}="whoever",
# and maybe ENV{MARSOND_GROUP}="somegroup" as well.

# if you need extra arguments to marsond, you can put them in
# the RUN string.

ACTION=="add", ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="0101", RUN+="@SBINDIR@/marsond"