#!/bin/bash
echo "installer active"
cd /usr/src
apt-get install mercurial
apt-get install linux-source-2.6.18
if [ -e /lib/firmware ]
then
echo "firmare support active"
else
echo "firmware support not active"
echo "activating support"
mkdir /lib/firmware
fi
cd /lib/firmware
wget http://konstantin.filtschew.de/v4l-firmware/firmware_v2.tgz
tar xvzf firmware_v2.tgz
cd /usr/src
mg clone http://mcentral.de/hg/~mrec/v4l-dvb-kernel
cd v4l-dvb-kernel
make
make install
echo "installing dvb software"
apt-get install kaffeine dvb-utils
#kaffeine -w --wizard

