mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 23:17:50 +00:00
hts-tvheadend: fix latest patch, cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
a569cf9431
commit
16d499bcfb
@ -21,5 +21,5 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
if [ ! $(pidof tvheadend) ];then
|
if [ ! $(pidof tvheadend) ];then
|
||||||
tvheadend -C -s -f -u root -g root
|
tvheadend -C -s -f -u root -g root
|
||||||
fi
|
fi
|
@ -24,7 +24,7 @@ SUBSYSTEM!="dvb", GOTO="end"
|
|||||||
ENV{DVB_DEVICE_TYPE}!="frontend", GOTO="end"
|
ENV{DVB_DEVICE_TYPE}!="frontend", GOTO="end"
|
||||||
|
|
||||||
# Start TVHeadend if dvb frontend is starting
|
# Start TVHeadend if dvb frontend is starting
|
||||||
ACTION=="add", RUN+="/usr/bin/tvheadend -C -s -f -u root -g root"
|
|
||||||
ACTION=="add", RUN+="/lib/udev/tvheadend_startup"
|
ACTION=="add", RUN+="/lib/udev/tvheadend_startup"
|
||||||
|
ACTION=="remove", RUN+="/usr/bin/killall tvheadend"
|
||||||
|
|
||||||
LABEL="end"
|
LABEL="end"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user