Set the environmental variables from the udev rule makeing sure they exists in all distributions. This closes #115
This commit is contained in:
parent
1ef4610f52
commit
de745731df
1 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
ATTRS{idVendor}=="1781", SUBSYSTEM=="usb", ACTION=="add", MODE="664", GROUP="plugdev" RUN+="${CMAKE_INSTALL_PREFIX}/share/telldus-core/helpers/udev.sh"
|
||||
ENV{ID_VENDOR_ID}=="1781", SUBSYSTEM=="usb", ACTION=="remove" RUN+="${CMAKE_INSTALL_PREFIX}/share/telldus-core/helpers/udev.sh"
|
||||
ATTRS{idVendor}=="1781", SUBSYSTEM=="usb", ACTION=="add", MODE="664", GROUP="plugdev", ENV{ID_VENDOR_ID}="$attr{idVendor}", ENV{ID_MODEL_ID}="$attr{idProduct}", ENV{ID_SERIAL_SHORT}="$attr{serial}", RUN+="${CMAKE_INSTALL_PREFIX}/share/telldus-core/helpers/udev.sh"
|
||||
ENV{ID_VENDOR_ID}=="1781", SUBSYSTEM=="usb", ACTION=="remove", ENV{ID_VENDOR_ID}="$attr{idVendor}", ENV{ID_MODEL_ID}="$attr{idProduct}", ENV{ID_SERIAL_SHORT}="$attr{serial}", RUN+="${CMAKE_INSTALL_PREFIX}/share/telldus-core/helpers/udev.sh"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue