1 2 3 4 5 6 7 8 9 10 11
|
#These rules are currently only adapted for a single lirc device.
#They are mainly used for hotplugability of the USB devices
#So that the user won't have to restart the lircd process.
#
#If a user has multiple lirc devices, and removes one of them
#The other will stop working as well. This is a side effect
#of both this udev script as well as the lirc architecture
#Of chaining lircd processes.
ACTION=="add", KERNEL=="lirc[0-9]", RUN="/etc/init.d/lirc restart udev"
ACTION=="remove", KERNEL=="lirc[0-9]", RUN="/etc/init.d/lirc stop udev"
|