# 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"