octoprint-klipper-docker/udev/okmd-udev.rules

3 lines
182 B
Plaintext
Raw Normal View History

2018-06-03 22:27:11 +00:00
ACTION=="add", KERNEL=="ttyUSB*", SUBSYSTEM=="tty", RUN+="/somewhere/printer-connected"
ACTION=="remove", KERNEL=="ttyUSB*", SUBSYSTEM=="tty", RUN+="/somewhere/printer-disconnected"