lirc: use /run instead of /var/run

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2018-06-24 13:34:57 +02:00
parent cd485a7fe6
commit e821e6b193
4 changed files with 6 additions and 5 deletions

View File

@ -10,8 +10,8 @@
nodaemon = False
driver = default
device = /dev/lirc0
output = /var/run/lirc/lircd.socket
pidfile = /var/run/lirc/lircd.pid
output = /run/lirc/lircd.socket
pidfile = /run/lirc/lircd.pid
plugindir = /usr/lib/lirc/plugins
permission = 666
allow-simulate = No

View File

@ -33,7 +33,8 @@ PKG_PYTHON_WANTED=Python2
PKG_CONFIGURE_OPTS_TARGET="--enable-devinput \
--with-gnu-ld \
--without-x"
--without-x \
--runstatedir=/run"
pre_configure_target() {
export HAVE_WORKING_POLL=yes

View File

@ -1,5 +1,5 @@
[Socket]
ListenStream=/var/run/lirc/lircd.socket
ListenStream=/run/lirc/lircd.socket
[Install]
WantedBy=sockets.target

View File

@ -16,4 +16,4 @@
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
d /var/run/lirc 0755 root root - -
d /run/lirc 0755 root root - -