summarylogtreecommitdiffstats
path: root/99-co2mon.rules
diff options
context:
space:
mode:
Diffstat (limited to '99-co2mon.rules')
-rw-r--r--99-co2mon.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/99-co2mon.rules b/99-co2mon.rules
index 4f35f72a7f9c..7988ac3c9243 100644
--- a/99-co2mon.rules
+++ b/99-co2mon.rules
@@ -1 +1,2 @@
SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="4d9/a052/*", OWNER="nobody", TAG+="systemd", ENV{SYSTEMD_WANTS}="co2mon.service", ENV{SYSTEMD_ALIAS}="/dev/co2mon"
+SUBSYSTEM=="usb", ACTION=="remove", ENV{PRODUCT}=="4d9/a052/*", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/dev/co2mon"