vdr-addon: faster stop & restart

This commit is contained in:
Stefan Saraev 2012-03-22 13:43:17 +02:00
parent af83313804
commit 6e9f23980c
2 changed files with 1 additions and 3 deletions

View File

@ -94,7 +94,6 @@ if [ ! "$(pidof vdr.bin)" ];then
# use ". " because of variable export
. $driver_dvb
done
if [ -f "$LOCKDIR/$LOCKFILE" ] ; then
rm -rf "$LOCKDIR/$LOCKFILE"
fi
@ -103,6 +102,5 @@ if [ ! "$(pidof vdr.bin)" ];then
break
fi
LANG=en_US.UTF-8 LD_LIBRARY_PATH="$ADDON_DIR/lib:$LD_LIBRARY_PATH" vdr.bin $VDR_ARG &>$LOG_FILE
sleep 1
done &
fi

View File

@ -29,6 +29,6 @@ mkdir -p "$LOCKDIR"
touch "$LOCKDIR/$LOCKFILE"
if [ "$(pidof vdr.bin)" ];then
killall vdr.bin
killall -9 vdr.bin
fi