- fix Building without Nagra not possible at Nagra_Merlin https://trac.streamboard...
[oscam.git] / devtools / extract_config.sh
blobc6872fe6c0a8dcc9a6aac365e157db9183e0a678
1 #!/bin/sh
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
12 strings $1 | sed -n 's/^CFG~//p' | openssl enc -d -base64 | gzip -d 2>/dev/null