source: ipk/source.sh4/emus_gbox_804/var/bin/startgbox_804@ 17754

Last change on this file since 17754 was 17754, checked in by obi, 14 years ago

[ipk] gbox 804 enable set auto key

  • Property svn:executable set to *
File size: 634 bytes
Line 
1echo start
2rm /tmp/gbox.read
3(sleep 5;touch /tmp/gbox.kill)&
4/var/emu/gbox_804 > /tmp/gbox.read
5
6#cat /tmp/gbox.read
7ident=`cat /tmp/gbox.read | grep "CAM IDent" | cut -d ":" -f3`
8echo ident $ident
9echo end
10
11count=0
12rsa=""
13
14echo $ident | sed 's/^//'
15#| sed -e 's/.\{7\}$//'
16v1=`echo $ident | cut -c1`
17v2=`echo $ident | cut -c2`
18v3=`echo $ident | cut -c3`
19v4=`echo $ident | cut -c4`
20v5=`echo $ident | cut -c5`
21v6=`echo $ident | cut -c6`
22v7=`echo $ident | cut -c7`
23v8=`echo $ident | cut -c8`
24
25rsa="$v1$v2 $v3$v4 $v5$v6 $v7$v8"
26echo rsa $rsa
27
28sed "s/B: {.*/B: { $rsa { A7 64 2F 57 BC 96 D3 7C }}/" -i /var/keys/nagra
29
30/var/emu/gbox_804 &
Note: See TracBrowser for help on using the repository browser.