repo.or.cz
/
oscam.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
- fix Building without Nagra not possible at Nagra_Merlin https://trac.streamboard...
[oscam.git]
/
devtools
/
extract_config.sh
blob
c6872fe6c0a8dcc9a6aac365e157db9183e0a678
1
#!/bin/sh
2
3
if
[
"
$1
"
=
""
]
4
then
5
echo
"Extract OSCam config from OSCam binary"
6
echo
7
echo
" Usage: `basename
$0
` oscam_binary"
8
echo
9
exit
1
10
fi
11
12
strings
$1
|
sed
-n
's/^CFG~//p'
| openssl enc
-d -base64
|
gzip
-d
2
>/
dev
/
null