Index: /ipk/make-ipk
===================================================================
--- /ipk/make-ipk	(revision 16099)
+++ /ipk/make-ipk	(revision 16100)
@@ -185,4 +185,5 @@
 	cp -a $HOME/flashimg/BUILD/titan/var/usr/local/share/titan/plugins/optimize/* "$HOMEDIR"/BUILD/titantools_optimize/var/usr/local/share/titan/plugins/optimize
 	cp -a $HOME/flashimg/BUILD/titan/var/usr/local/share/titan/plugins/panel/* "$HOMEDIR"/BUILD/titantools_panel/var/usr/local/share/titan/plugins/panel
+	cp -a $HOME/flashimg/BUILD/titan/var/usr/local/share/titan/plugins/instar/* "$HOMEDIR"/BUILD/titantools_IP-Kammera/var/usr/local/share/titan/plugins/instar
 
 	# titannetwork
Index: /ipk/source.sh4/titantools_IP-Kammera/CONTROL/control
===================================================================
--- /ipk/source.sh4/titantools_IP-Kammera/CONTROL/control	(revision 16100)
+++ /ipk/source.sh4/titantools_IP-Kammera/CONTROL/control	(revision 16100)
@@ -0,0 +1,10 @@
+Package: titan-plugin-tools-ipkammera
+Version: 0.1
+Architecture: sh4
+OE: IPKammera
+Section: extra
+Priority: optional
+Maintainer: AAF
+Homepage: http://www.aaf-digital.info
+Source: GOst4711 by AAF 
+Description: IP-Kammera zB. Firma INSTAR
Index: /ipk/source.sh4/titantools_IP-Kammera/CONTROL/control.bak
===================================================================
--- /ipk/source.sh4/titantools_IP-Kammera/CONTROL/control.bak	(revision 16100)
+++ /ipk/source.sh4/titantools_IP-Kammera/CONTROL/control.bak	(revision 16100)
@@ -0,0 +1,10 @@
+Package: titan-plugin-tools-permtime
+Version: 0.1
+Architecture: sh4
+OE: KeyLock
+Section: extra
+Priority: optional
+Maintainer: AAF
+Homepage: http://www.aaf-digital.info
+Source: GOst4711 by AAF 
+Description: Permanente Uhrzeit am Bildschirm
Index: /ipk/source.sh4/titantools_IP-Kammera/CONTROL/postinst
===================================================================
--- /ipk/source.sh4/titantools_IP-Kammera/CONTROL/postinst	(revision 16100)
+++ /ipk/source.sh4/titantools_IP-Kammera/CONTROL/postinst	(revision 16100)
@@ -0,0 +1,13 @@
+#!/bin/sh
+TMP=/tmp/.infos
+
+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
Index: /ipk/source.sh4/titantools_IP-Kammera/CONTROL/postrm
===================================================================
--- /ipk/source.sh4/titantools_IP-Kammera/CONTROL/postrm	(revision 16100)
+++ /ipk/source.sh4/titantools_IP-Kammera/CONTROL/postrm	(revision 16100)
@@ -0,0 +1,15 @@
+#!/bin/sh
+TMP=/tmp/.infos
+PLUGINDIR=/var/usr/local/share/titan/plugins/permtime
+rm -r $PLUGINDIR > /dev/null 2>&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
+exit 0
Index: /ipk/source.sh4/titantools_IP-Kammera/CONTROL/preinst
===================================================================
--- /ipk/source.sh4/titantools_IP-Kammera/CONTROL/preinst	(revision 16100)
+++ /ipk/source.sh4/titantools_IP-Kammera/CONTROL/preinst	(revision 16100)
@@ -0,0 +1,47 @@
+#!/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 IP-Kammera 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=40
+	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/titantools_IP-Kammera/CONTROL/prerm
===================================================================
--- /ipk/source.sh4/titantools_IP-Kammera/CONTROL/prerm	(revision 16100)
+++ /ipk/source.sh4/titantools_IP-Kammera/CONTROL/prerm	(revision 16100)
@@ -0,0 +1,12 @@
+#!/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 IP-Kammera Plugin"
+exit 0
Index: /ipk/source.sh4/titantools_IP-Kammera/var/usr/local/share/titan/plugins/instar/instar.conf
===================================================================
--- /ipk/source.sh4/titantools_IP-Kammera/var/usr/local/share/titan/plugins/instar/instar.conf	(revision 16100)
+++ /ipk/source.sh4/titantools_IP-Kammera/var/usr/local/share/titan/plugins/instar/instar.conf	(revision 16100)
@@ -0,0 +1,8 @@
+InstarCamAutostart=nein
+InstarCam1=aus
+InstarCam1IP=192.168.1.1
+InstarCam1User=USER
+InstarCam1Pass=PASSWORT
+InstarCam1Port=80
+InstarCam2=aus
+InstarCam2Port=0000
