mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
lirc: use upstream method to configure and run lirc
Add helper scripts for lircd and lircd-uinput so that we can override lirc_options.conf and lircd.conf via files in /storage/.config Use separate systemd units for lircd and lircd-uinput, like in upstream, and just add a ConditionPathExists to enable/disable the services. The lirc socket is managed by systemd via lircd.socket, like in upstream. Remove udev file for enabling lirc, this is now handled via systemd only.
This commit is contained in:
6
packages/sysutils/lirc/system.d/lircd.socket
Normal file
6
packages/sysutils/lirc/system.d/lircd.socket
Normal file
@@ -0,0 +1,6 @@
|
||||
[Socket]
|
||||
ListenStream=/run/lirc/lircd.socket
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Also=lircd.service
|
||||
Reference in New Issue
Block a user