The Best Streaming Software!
VIVO Rent A Car - Your car rental
Върни се   Digital TV Forums - БЪЛГАРСКИЯТ ФОРУМ ЗА ЦИФРОВА ТЕЛЕВИЗИЯ > Шеринг и емулатори > Емулатори > CCcam

Отговори
 
Контрол над темата Начин на разглеждане
  #1  
Стар 07-04-2009
Аватара на Sharp987
Sharp987 Sharp987 не е на линия
Потребител
 

Дата на присъединяване: Mar 2009
Мнения: 1,623
Благодари: 750
Получил благодарност:
2,660 пъти в 886 поста
Сваляния: 126
Ъплоуди: 113
По подразбиране CCcam Check-Script

Das Script überprüft, ob CCcam läuft oder nicht...
wenn´s nicht läuft wird´s gestartet, wenn´s läuft dann OK

Die CCcam Version müßt ihr natürlich im Skript an eure Version anpassen, dass ganze noch mit nem CronManager laufen lassen und gut is. (wer´s braucht)

Schaltet auf eine andere Cam, dann könnt ihr testen, ob automatisch auf CCcam umgeschaltet wird

translate.google:

Сценарият проверки дали CCcam е тичане или не ...
Ако не вървят се стартира, когато се работи добре

В CCcam версия, която трябва да разбира в скрипта за да персонализирате своя версия, все още с тази цялата nem CronManager тичам и добре е. (Who's нужди)

Ключове към различен CAM, тогава можете да пробвате, ако CCcam автоматично включване

CCcamcheck.rar
__________________
Отговори с цитат
  #2  
Стар 04-05-2009
Аватара на Sharp987
Sharp987 Sharp987 не е на линия
Потребител
 

Дата на присъединяване: Mar 2009
Мнения: 1,623
Благодари: 750
Получил благодарност:
2,660 пъти в 886 поста
Сваляния: 126
Ъплоуди: 113
По подразбиране

CheckCccam

This script will work on most linux dist. including enigma1/2.
The script will check if the CCCam proccess are running with a crontab and restart CCcam if stopped for some reason.

Upload checkcccam.sh and place it under /bin. chmod with 755


Modify these 3 lines inside checkccam.sh to fit your local settings for paths and name of cccam file:

CCCAM_CONFIG_FILE_PATH="/etc"
This is the path where your Cccam.cfg file are located

CCCAM_EXECUTABLE_PATH="/bin"
This is the path where your Cccam.ppc/Cccam.x86 file are located

NAME_OFF_CCCAM_EXECUTABLE="CCcam.x86"
This is the name of your Cccam bin.file.



Then make a crontab to run this script every 1 min.:

# crontab -e

Insert this line and save the file:
* * * * * /bin/checkcccam.sh


Try to kill your cccam process and check that it starts again in max. 1 min.
Прикрепени файлове
Тип файл: zip CheckCccam.zip (989 Байта, 42 разглеждания)
__________________
Отговори с цитат
Следните потребители (3) благодарят на Sharp987 за този полезен пост
ppet (12-05-2009), Ники (05-05-2009), ТИНТИН (04-05-2009)
  #3  
Стар 13-05-2009
Чък Норис Чък Норис не е на линия
Модератор
 

Дата на присъединяване: Dec 2008
Местоположение: Пловдив
Мнения: 11,954
Благодари: 984
Получил благодарност:
7,333 пъти в 3,560 поста
Сваляния: 89
Ъплоуди: 24
По подразбиране

Ето още един скрипт без използване на кронд, който работи безотказно и прави невъзможно спирането на cccam-a.

Цитирай:
Пръвоначално написано от http://www.eurocardsharing.com/f163/...t-crond-108138

Hey!
I Thank my dear friend Shalafi for this great script.
It works perfect with all CCcam , in all image and it checks always if CCcam is running with out crond.
And if by some reason CCcam has crashed, wich it does sometimes, it auto executes the CCcam instead of leaving you offline for hours....
It dont take any special cpu usage because works with out crond and it is easy to add to your server.

For the intrested here is the code:


cd /usr/bin
while [ 1 ];
do
process=`ps auxwww | grep cccamd-real | grep -v grep | awk '{print $1}'`
if [ -z "$process" ]; then
echo "Couldn't find CCcam running. Restarting server-binary" >> /tmp/cccam.check
/var/bin/cccamd-real
else
echo "CCcam is still OK!" >> /dev/null
fi
done


*NOTE!* My CCcam is in /var/bin and if your file is in a other folder like your home dir please edit the .sh file and change the path to your file.

Installing the script:
1. Log into your server using ftp software.
2. Rename the CCcam file to cccamd-real. Example if it is CCcam_2.0.11, reaname to cccamd-real.
3. Make a new text file with the up lines inside in /var/bin ( there where is located the cccamd-real )called with the name of CCcam. Example if the name of softcam waz CCcam_2.0.11 before rename it to cccamd-real, then the name of text file (script) must be CCcam_2.0.11.
4. Set chmod to 755.
5. Reboot.
6. Killall cccamd -real to test if it start again .
8. Sit back, relax, and enjoy the quality of cardsharing Now i can do other things without worring if CCcam has crashed.

Hope you will be satisfied with my little guide and expect more goodies from me

Best Regards Bilis.
При спиране или забиване на cccam-a, той се стартира моментално отново.
Отговори с цитат
Следните потребители (5) благодарят на Чък Норис за този полезен пост
bu12tras (13-05-2009), Sharp987 (13-05-2009), vanko23 (14-05-2009), Джак (13-05-2009), Ники (13-05-2009)
  #4  
Стар 13-05-2009
Чък Норис Чък Норис не е на линия
Модератор
 

Дата на присъединяване: Dec 2008
Местоположение: Пловдив
Мнения: 11,954
Благодари: 984
Получил благодарност:
7,333 пъти в 3,560 поста
Сваляния: 89
Ъплоуди: 24
По подразбиране

Да преведа в общи линий горният си пост.
Преименувате досегашният си ццкам(който се намира в /var/bin за енигна 1 и в /usr/bin зa enigma 2), независимо коя версия е бил, в cccamd-real, правите си нов файл CCcam_2.0.11(ако сте с ццкам 2.0.11) и в него поставяте реовете:

Код:
cd /var/bin 
while [ 1 ]; 
do
process=`ps auxwww | grep cccamd-real | grep -v grep | awk '{print $1}'`
if [ -z "$process" ]; then
echo "Couldn't find CCcam  running. Restarting server-binary" >> /tmp/cccam.check
/var/bin/cccamd-real
else
echo "CCcam is still OK!" >> /dev/null       
fi
done 
новият файл също го поставяте в /var/bin(/usr/bin за енигма 2), задават му се права 755 и рестартирате дрийма.
За да проверите дали работи новия скрипт, в телнет
Код:
cd /var/bin
ls
cccamd-real killall
и проверявате дали работи ццкама.
Важно уточнение е, че според някои колеги този скрипт бави приемникът, аз използвам за сървър PC и нямам грижи.

Последно редактирано от Чък Норис : 13-05-2009 на 14:05
Отговори с цитат
Следните потребители (4) благодарят на Чък Норис за този полезен пост
bu12tras (13-05-2009), Sharp987 (13-05-2009), Ники (13-05-2009), ТИНТИН (26-06-2009)
  #5  
Стар 09-07-2009
Аватара на ТИНТИН
ТИНТИН ТИНТИН не е на линия
Модератор
 

Дата на присъединяване: Mar 2009
Мнения: 4,148
Благодари: 362
Получил благодарност:
2,431 пъти в 1,521 поста
Сваляния: 71
Ъплоуди: 0
По подразбиране CCCam restart script Gemini image DM

CCCam restart script Gemini image DM

this is a script-program that controls if and how your CCcam works, this script is made for
CCcam 2.0.11
if your CCcam crash down this script will make that you CCcam works again
this script is made for gemini image
start your crond in gemini image and configure your crond to check up every 15 minutes the work of CCcam
put the part of this script in their folders - var/bin,etc,script
if you use other version of CCcam please edit in this script folders and put the CCcam that you use
Прикрепени файлове
Тип файл: zip CCCam restart script by Allain Gemini image DM.zip (2.3 КБ, 35 разглеждания)
Отговори с цитат
Следните потребители БЛАГОДАРЯТ на ТИНТИН за този полезен пост :
miros123 (09-07-2009)
Sponsored Links
VIVO Rent A Car  Вземи своят Vu+ сега!  SatPlus
Отговори

Съобщения от Devil M
VIVO Rent A Car  

Тагове
cccam, checkscript


Активни потребители разглеждащи тази тема в момента: 1 (0 членове и 1 гости)
 

Подобни теми
Тема Започнал темата Форум Отговори Последно мнение
CCcam 2.2.1 Sharp987 CCcam 27 04-05-2011 16:55
Cccam-2.1.4 thunderstorm6 CCcam 31 15-10-2010 09:05
cccam invalid user script за Linux PC thunderstorm6 CCcam 0 04-04-2010 06:37
script to start OSCAM CCcam 2.0.11 thunderstorm6 Емулатори 3 23-11-2009 18:42
CRC check skipped - проблем при DM 800 icerain DREAMBOX 3 11-12-2008 18:28


Всички времена са във формат GMT +3. Часът е 08:26.


DTV-BG Powered by vBulletin Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.