aboutsummaryrefslogtreecommitdiff
path: root/99-marsond.rules.in
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-05-06 18:45:23 -0400
committerB. Watson <urchlay@slackware.uk>2025-05-06 18:45:23 -0400
commitd7950055f20905ec7c014eff2d21df31213f402f (patch)
tree86b489a21d0092349c6a890817f2b22581e19970 /99-marsond.rules.in
parent5da47051f0c1e03377f77cb2979610594d2629eb (diff)
downloadmarsond-d7950055f20905ec7c014eff2d21df31213f402f.tar.gz
update README (no more rc script, using udev now).
Diffstat (limited to '99-marsond.rules.in')
-rw-r--r--99-marsond.rules.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/99-marsond.rules.in b/99-marsond.rules.in
new file mode 100644
index 0000000..40719f2
--- /dev/null
+++ b/99-marsond.rules.in
@@ -0,0 +1,13 @@
+# udev rule for marsond.
+
+# 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"