Index: ipk/source.sh4/tools_zapback/CONTROL/postinst
===================================================================
--- ipk/source.sh4/tools_zapback/CONTROL/postinst	(revision 23549)
+++ ipk/source.sh4/tools_zapback/CONTROL/postinst	(revision 23624)
@@ -1,13 +1,8 @@
 #!/bin/sh
-TMP=/tmp/.infos
+INSTDIR="$1"
 
-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
+if [ "/var" != "$INSTDIR" ]; then
+	ln -sfn "$INSTDIR/usr/local/share/titan/plugins/zapback" /var/usr/local/share/titan/plugins/zapback
 fi
+
 exit 0
Index: ipk/source.sh4/tools_zapback/CONTROL/postrm
===================================================================
--- ipk/source.sh4/tools_zapback/CONTROL/postrm	(revision 23549)
+++ ipk/source.sh4/tools_zapback/CONTROL/postrm	(revision 23624)
@@ -1,15 +1,6 @@
 #!/bin/sh
-TMP=/tmp/.infos
-PLUGINDIR=/var/usr/local/share/titan/plugins/zapback
-rm -r $PLUGINDIR > /dev/null 2>&1
+INSTDIR="$1"
 
-echo "successfully removed"
-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
+rm -rf "$INSTDIR/usr/local/share/titan/plugins/zapback"
+
 exit 0
Index: ipk/source.sh4/tools_zapback/CONTROL/preinst
===================================================================
--- ipk/source.sh4/tools_zapback/CONTROL/preinst	(revision 23549)
+++ ipk/source.sh4/tools_zapback/CONTROL/preinst	(revision 23624)
@@ -1,47 +1,3 @@
 #!/bin/sh
-#
-TMP=/tmp/.infos
-
-model=`cat /etc/model`
-echo""
-echo "Checking your Boxtype...."
-echo "Some Plugins will not work correctly on your $model!"
-echo ""
-if [ "$model" = "" ]; then
-	echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"
-	echo "Aborting installation..."
-	exit 1
-else
-	echo "Boxtype: $model OK"
-fi
-
-echo "install ZapBack Plugin ..."
-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`
-	SIZE=8
-	echo "checking freespace"
-	echo packege size $SIZE kb
-	echo freespace size $FREE kb
-	if  [ "$FREE" -lt "$SIZE" ]; then
-		echo "sorry no freespace left on device"
-		exit 1
-	else
-		echo ok		
-	fi
-else
-	echo "syncing disk"
-	sync
-fi
-buildgroup=`cat /etc/.buildgroup`
-echo "checking OS"	 
-if  [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then 	 	 
-	echo --------------------------- 	 	 
-	echo DONT USE this IPK Package!! 	 	 
-	echo --- 	 	 
-	echo Only for $buildgroup Image!! 	 	 
-	echo --------------------------- 	 	 
-	exit 1 	 	 
-fi
 
 exit 0
Index: ipk/source.sh4/tools_zapback/CONTROL/prerm
===================================================================
--- ipk/source.sh4/tools_zapback/CONTROL/prerm	(revision 23549)
+++ ipk/source.sh4/tools_zapback/CONTROL/prerm	(revision 23624)
@@ -1,12 +1,3 @@
 #!/bin/sh
-TMP=/tmp/.infos
-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
-echo "removing ZapBack Plugin"
+
 exit 0
