vdr-addon: improve suspend/resume

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

View File

@ -1,3 +1,6 @@
3.0.10
- improve suspend/resume
3.0.9
- rebuild

View File

@ -21,7 +21,7 @@
PKG_NAME="vdr-addon"
PKG_VERSION="3.0"
PKG_REV="9"
PKG_REV="10"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv"

View File

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