From e219410a6d7ba3d6eb018978b67ce50b7c0d670f Mon Sep 17 00:00:00 2001 From: Colossus Date: Fri, 22 Apr 2011 01:35:45 +0200 Subject: [PATCH] call "/etc/pm/sleep.d/50_tvheadend resume" instead "/usr/bin/tvheadend -C -s -f -u root -g root" (directly), because on a twin tuner card tvheadend is starting two times. --- packages/multimedia/hts-tvheadend/udev.d/76-tvheadend.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/multimedia/hts-tvheadend/udev.d/76-tvheadend.rules b/packages/multimedia/hts-tvheadend/udev.d/76-tvheadend.rules index 441b76235b..ea762e222b 100644 --- a/packages/multimedia/hts-tvheadend/udev.d/76-tvheadend.rules +++ b/packages/multimedia/hts-tvheadend/udev.d/76-tvheadend.rules @@ -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+="/etc/pm/sleep.d/50_tvheadend resume" ACTION=="remove", RUN+="/usr/bin/killall tvheadend" LABEL="end"