Script to autoupdate k€ys every x minutes

samuelongui

Registered
Messages
34
According to this thread: http://www.sat-universe.com/showthread.php?t=246250

I think should be interesting to create an script that runs an autoupdate of the files we need for k€y$

This is what I have now

#!/bin/sh
# v1.4 Jotne
# Automatically uptadtes CCcam.channelinfo and CCcam.provider from http://cccam.qpoe.com/
# Automatically uptadtes SoftCam.key,constant.cw and AutoRoll.key from http://www.uydu.ws, info found http://www.skystar.org/
# See website for more info

while [ 1 ]
do
echo "Actualizacion en marcha! : $(date)"
wget -O /usr/keys/SoftCam.Key http://www.uydu.ws/deneme6.php?file=SoftCam.Key
wget -O /usr/keys/constant.cw http://www.uydu.ws/deneme6.php?file=constant.cw
wget -O /usr/keys/AutoRoll.Key http://www.uydu.ws/deneme6.php?file=AutoRoll.Key
echo "Actualizacion terminada! : $(date)"
sleep 1200
done

Files to autoupdated can be change, for example for JSC have to set url to a oscam.keys file.

Any suggestion would be welcome.
 
Top