aboutsummaryrefslogtreecommitdiff
path: root/99-marsond.rules.in
blob: dcc060e59e2a63540111f9bc6e7d0276a61a41fd (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}=="@VENDOR_ID@", ATTRS{idProduct}=="@PRODUCT_ID@", RUN+="@SBINDIR@/marsond"