tvheadend: improve suspend/resume

This commit is contained in:
Stefan Saraev 2013-06-12 16:05:21 +03:00
parent 4d81ab2da9
commit ef15c901fe
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,6 @@
3.0.11
- improve suspend/resume
3.0.10
- fix preloading capmt.so with sundtek
- added the ability to use a script's stdout as the xmltv source instead of a fixed file or URL

View File

@ -20,7 +20,7 @@
PKG_NAME="tvheadend"
PKG_VERSION="3.4"
PKG_REV="10"
PKG_REV="11"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.lonelycoder.com/hts/tvheadend_overview.html"

View File

@ -50,6 +50,14 @@ case "$1" in
for module in $REMOVE_MODULES ; do
modprobe $module
done
tvheadend.stop
for seq in `seq 1 10` ; do
if [ ! "$(pidof tvheadend)" ];then
break
fi
usleep 500000
done
killall -9 tvheadend &>/dev/null
rm -rf "$LOCKFILE"
tvheadend.start
fi