diff options
Diffstat (limited to '99-co2mon.rules')
-rw-r--r-- | 99-co2mon.rules | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/99-co2mon.rules b/99-co2mon.rules new file mode 100644 index 000000000000..c429d5a088a8 --- /dev/null +++ b/99-co2mon.rules @@ -0,0 +1,2 @@ +SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="4d9/a052/*", OWNER="nobody", RUN+="/usr/bin/systemctl start co2mon.service" +SUBSYSTEM=="usb", ACTION=="remove", ENV{PRODUCT}=="4d9/a052/*", OWNER="nobody", RUN+="/usr/bin/systemctl stop co2mon.service" |