diff options
Diffstat (limited to 'meta-agl-ic-container/recipes-demo/momikey/files/momikey.rules')
-rw-r--r-- | meta-agl-ic-container/recipes-demo/momikey/files/momikey.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-agl-ic-container/recipes-demo/momikey/files/momikey.rules b/meta-agl-ic-container/recipes-demo/momikey/files/momikey.rules index 167a5cb1..ffe19684 100644 --- a/meta-agl-ic-container/recipes-demo/momikey/files/momikey.rules +++ b/meta-agl-ic-container/recipes-demo/momikey/files/momikey.rules @@ -1 +1 @@ -SUBSYSTEM=="usb", ATTR{idVendor}=="1189", ATTR{idProduct}=="8890", RUN+="/bin/sh -c 'systemctl start momikey'" +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="1189", ATTR{idProduct}=="8890", GROUP="usb", TAG+="systemd", ENV{SYSTEMD_WANTS}+="momikey.service" |