#!/bin/bash
# see:   https://sundtek.de/wiki/index.php?title=Products#Sundtek_SkyTV_Ultimate_8_.2F_VIII
#


#    sudo -s # to switch to root
    /opt/bin/mediaclient --shutdown
echo shutdown, Taste drücken
read $a
#exit
    /opt/bin/mediaclient --start
echo start, Taste drücken
read $a

echo    --- BEGIN ---

echo  wait a few seconds and check if the device shows up using following command:
    /opt/bin/mediaclient -e
echo    afterwards tune to a transponder:
echo Taste drücken
read $a
    /opt/bin/mediaclient -m DVBS -f 12545000 -M QPSK -S 22000000 -E 5/6 -V H -d /dev/dvb/adapter0/frontend0
echo    afterwards check the signal strength:
echo Taste drücken
read $a

    /opt/bin/mediaclient --readsignal=3 -d /dev/dvb/adapter0/frontend0

