#!/bin/sh
TMP=/tmp/.system

echo "successfully installed"
echo "syncing disk"
sync
if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
	SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
	FREE=`expr $SPACE - 100`
	echo new freespace size $FREE kb
fi

echo "---------------------------------"
echo "-----------PLEASE READ-----------"
echo "---------------------------------"
echo "now you can choose between old and new audio.elf"
echo "just open AAF Panel -> SETUP -> Autostart -> GENERIC CONFIG and have a look at oldaudiofw"
echo "here you can switch between the firmwares..."
echo "change the parameter and restart your box"
echo "---------------------------------"
echo "---------------------------------"
echo "---------------------------------"
echo ""
echo "---------------------------------"
echo "-----------Bitte lesen-----------"
echo "---------------------------------"
echo "Jetzt kannst du zwischen alter und neuer audio.elf waehlen"
echo "oeffne AAF Panel -> Einstellungen -> Autostart -> allg Parameter"
echo "und schaue nach dem Eintrag oldaudiofw"
echo "hier kannst zu zwischen beiden Firmwares umschalten"
echo "aendere den Parameter und starte die Box neu"
echo "---------------------------------"
echo "---------------------------------"
echo "---------------------------------"
exit 0