/usr/share/doc/dvbtune/examples/check.sh is in dvbtune 0.5.ds-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #!/bin/sh
#
# Read a file containing "FREQ POL SRATE" lines and produce a
# XML file containing the DVB-SI data.
#
# Usage: ./check.sh < astra19.txt > astra19.xml
#
# Change the DVBTUNE variable to point to your installed version of dvbtune
# Change CARD to be 0 (first card), 1 (second card), 2 (third card) etc
DVBTUNE=../dvbtune
CARD=0
echo '<?xml version="1.0"?>'
echo '<satellite>'
while read x y z
do
$DVBTUNE -c $CARD -f $x -p $y -s $z -i
done
echo '</satellite>'
|