Index: ipk/source.sh4/emus_gbox_804/var/bin/startgbox_804
===================================================================
--- ipk/source.sh4/emus_gbox_804/var/bin/startgbox_804	(revision 17754)
+++ ipk/source.sh4/emus_gbox_804/var/bin/startgbox_804	(revision 17754)
@@ -0,0 +1,30 @@
+echo start
+rm /tmp/gbox.read
+(sleep 5;touch /tmp/gbox.kill)&
+/var/emu/gbox_804 > /tmp/gbox.read
+
+#cat /tmp/gbox.read
+ident=`cat /tmp/gbox.read | grep "CAM IDent" | cut -d ":" -f3`
+echo ident $ident
+echo end
+
+count=0
+rsa=""
+
+echo $ident | sed 's/^//'
+#| sed -e 's/.\{7\}$//'
+v1=`echo $ident | cut -c1`
+v2=`echo $ident | cut -c2`
+v3=`echo $ident | cut -c3`
+v4=`echo $ident | cut -c4`
+v5=`echo $ident | cut -c5`
+v6=`echo $ident | cut -c6`
+v7=`echo $ident | cut -c7`
+v8=`echo $ident | cut -c8`
+
+rsa="$v1$v2 $v3$v4 $v5$v6 $v7$v8"
+echo rsa $rsa
+
+sed "s/B: {.*/B: { $rsa { A7 64 2F 57 BC 96 D3 7C }}/" -i /var/keys/nagra
+
+/var/emu/gbox_804 &
Index: ipk/source.sh4/emus_gbox_804/var/etc/gbox_804.emu
===================================================================
--- ipk/source.sh4/emus_gbox_804/var/etc/gbox_804.emu	(revision 15097)
+++ ipk/source.sh4/emus_gbox_804/var/etc/gbox_804.emu	(revision 17754)
@@ -1,4 +1,4 @@
 emuname  =Gbox Version 804
 binname  =gbox_804
-startcam =/var/emu/gbox_804 &
+startcam =/var/emu/startgbox_804
 stopcam  = touch /tmp/gbox.kill
