hts-tvheadend: fix latest patch, cleanup

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-04-22 02:53:14 +02:00
parent a569cf9431
commit 16d499bcfb
2 changed files with 2 additions and 2 deletions

View File

@ -21,5 +21,5 @@
################################################################################
if [ ! $(pidof tvheadend) ];then
tvheadend -C -s -f -u root -g root
tvheadend -C -s -f -u root -g root
fi

View File

@ -24,7 +24,7 @@ SUBSYSTEM!="dvb", GOTO="end"
ENV{DVB_DEVICE_TYPE}!="frontend", GOTO="end"
# 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=="remove", RUN+="/usr/bin/killall tvheadend"
LABEL="end"