1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
|
#!/bin/sh
VDRPRG="./vdr"
VDRCMD="$VDRPRG -Ppvrinput -P 'softdevice -ao alsa:pcm=default# -vo dfb:' -v /rec -c /video -w 60 $*"
KILL="/usr/bin/killall -q -TERM"
while (true) do
eval "$VDRCMD"
# if test $? -eq 0 -o $? -eq 2; then exit; fi
# $KILL $VDRPRG
# sleep 10
done |