Sacado de http://www.oscam.to/wbb3/index.php?page=Thread&threadID=10499
Traducción google:
Acabo de probar los scripts en linux y funcionan perfectamente. Al final se crean varios oscam.srvid.*, uno por cada proveedor que hayamos escogido en el srvidking.cfg. Supongo que luego habrá que unirlos todos en un único oscam.srvid. Esto se puede hacer fácilmente con
[TOOL] Generate an oscam.srvid file based on KingOfSat packages and OScam Wiki
#
# Author: pr2
# for: www.oscam.to
#
# Thanks to demosat for the tests and suggestions.
#
Introduction.
The purpose of those scripts is to generate a file oscam.srvid based on packages available from:
http://en.kingofsat.net/packages.php
The CAID will be retrieved from OSCam Wiki page:
http://streamboard.gmc.to/wiki/OSCam/en/Config/oscam.provid
This is linux standard shell script that should run on any Linux system.
How to install.
Simply unpack the srvidking.tgz file on your favorite location, be carefull that some temporary files
will be created and the resulting file will be placed there too.
Example:
In telnet:
Código:mkdir /media/hdd/srvidking
FTP the file srvidking.tgz to the folder /media/hdd/srvidking
In telnet:
Código:cd /media/hdd/srvidking tar -xvzf srvidking.tgz
As result you will get 3 files:
1config.sh
2srvidking.sh
readme.txt
How to use:
Script: 1config.sh
First you need to run the script: ./1config.sh this will generate a file called srvidking.cfg
To run the script in telnet:
Código:cd /media/hdd/srvidking ./1config.sh
Then edit the file srvidking.cfg and remove the # on the lines with the packages that you want to generate the oscam.srvid files.
Script: 2srvidking.sh
To run the script in telnet:
Código:cd /media/hdd/srvidking ./2srvidking.sh
The resulting files will be oscam.srvid.PACKAGE
If the CAID is not found in the Wiki page it will be replaced by UNKNOWN, so please check the resulting file.
Please help us completing the missing CAID in this thread:
Help us complete the CAID / providerID list in the wiki
Enjoy,
Pr2 for http://www.oscam.to
P.S.: Special thanks to Demosat for the tests and suggestions
Traducción google:
[HERRAMIENTA] Generar un archivo oscam.srvid basado en los paquetes de KingOfSat y Wiki OSCAM
#
# Autor: pr2
# Para: www.oscam.to
#
# Gracias a demosat para las pruebas y sugerencias.
#
Introducción.
El propósito de estos scripts es generar un archivo oscam.srvid sobre la base de paquetes disponibles en:
http://en.kingofsat.net/packages.php
El CAID se recuperará de la página wiki de OSCAM:
http://streamboard.gmc.to/wiki/OSCam/en/Config/oscam.provid
Esto es linux shell script estándar que debería funcionar en cualquier sistema Linux.
Cómo instalar.
Simplemente descomprima el archivo srvidking.tgz en su lugar favorito, tenga cuidado de que se crearán algunos archivos temporales y el archivo resultante se colocará allí.
Ejemplo:
En telnet:
Código:mkdir /media/hdd/srvidking
Transferir por FTP el archivo srvidking.tgz a la carpeta /media/hdd/srvidking
En telnet:
Código:cd /media/hdd/srvidking tar -xvzf srvidking.tgz
Como resultado obtendrá 3 archivos:
1config.sh
2srvidking.sh
Readme.txt
Modo de empleo:
Script: 1config.sh
En primer lugar usted necesita para ejecutar el script: ./1config.sh esto generará un archivo llamado srvidking.cfg
Para ejecutar el script en el telnet:
Código:cd /media/hdd/srvidking ./1config.sh
A continuación, edite el archivo srvidking.cfg y quite el # en las líneas de los paquetes que desea generar los archivos oscam.srvid.
Script: 2srvidking.sh
Para ejecutar el script en el telnet:
Código:cd /media/hdd/srvidking ./2srvidking.sh
Los archivos resultantes serán oscam.srvid.PACKAGE
Si el CAID no se encuentra en la página Wiki será reemplazado por UNKNOWN, así que por favor revise el archivo resultante.
Por favor ayúdenos a completar el CAID falta en este tema:
Ayudennos a completar la lista de CAID / ProviderId en el wiki
Disfrute,
Pr2 para http://www.oscam.to
PD: Gracias especiales a Demosat para las pruebas y sugerencias
Acabo de probar los scripts en linux y funcionan perfectamente. Al final se crean varios oscam.srvid.*, uno por cada proveedor que hayamos escogido en el srvidking.cfg. Supongo que luego habrá que unirlos todos en un único oscam.srvid. Esto se puede hacer fácilmente con
Código:
cat oscam.srvid.* > oscam.srvid