diff options
author | Self-Perfection | 2015-11-03 18:32:22 +0300 |
---|---|---|
committer | Self-Perfection | 2015-11-03 18:33:05 +0300 |
commit | 792ec4de55b74a0cbaf021040b05043cc10ae877 (patch) | |
tree | 01fb2da5631217418e2868205b3af059955525b6 /99-co2mon.rules | |
download | aur-792ec4de55b74a0cbaf021040b05043cc10ae877.tar.gz |
Initial PKGBUILD for co2mon-git
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" |