added rfxcom device
This commit is contained in:
parent
a469b8a7ea
commit
f861bb3aca
1
podman/files/99-rfxcom-serial.rules
Normal file
1
podman/files/99-rfxcom-serial.rules
Normal file
@ -0,0 +1 @@
|
||||
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="rfxcom", MODE="0666"
|
@ -1,4 +1,18 @@
|
||||
{% from 'lib.sls' import container_deploy with context %}
|
||||
|
||||
Create udev-rule for rfxcom usb dongel:
|
||||
file.managed:
|
||||
- name: /etc/udev/rules.d/99-rfxcom-serial.rules
|
||||
- source: salt://podman/files/99-rfxcom-serial.rules
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: "0644"
|
||||
|
||||
Relead udev rules for rfxcom dongel:
|
||||
cmd.run:
|
||||
- name: udevadm control --reload-rules
|
||||
- onchanges:
|
||||
- file: Create udev-rule for rfxcom usb dongel
|
||||
|
||||
{{ container_deploy('nodered') }}
|
||||
|
||||
|
Reference in New Issue
Block a user