Index: ipk/source.sh4/titantools_IP-Kammera/CONTROL/postinst
===================================================================
--- ipk/source.sh4/titantools_IP-Kammera/CONTROL/postinst	(revision 18513)
+++ ipk/source.sh4/titantools_IP-Kammera/CONTROL/postinst	(revision 23447)
@@ -1,19 +1,11 @@
 #!/bin/sh
 TMP=/tmp/.infos
-
+INSTDIR="$1" 
+PLUGINDIR=$INSTDIR/usr/local/share/titan/plugins/instar
 if [ -e /tmp/instar.conf ]; then
-	mv /var/usr/local/share/titan/plugins/instar/instar.conf /var/usr/local/share/titan/plugins/instar/instar.conf_org
-	cp  /tmp/instar.conf /var/usr/local/share/titan/plugins/instar/instar.conf
+	mv $PLUGINDIR/instar.conf $PLUGINDIR/instar.conf_org
+	cp  /tmp/instar.conf $PLUGINDIR/instar.conf
 	rm /tmp/instar.conf
 fi
 
-echo "successfully installed"
-if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
-	SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
-	FREE=`expr $SPACE - 100`
-	echo new freespace size $FREE kb
-else
-	echo "syncing disk"
-	sync
-fi
 exit 0
