nansediz
GF Ouro
- Entrou
- Abr 20, 2011
- Mensagens
- 652
- Gostos Recebidos
- 1
Boas,
Tenho este script em usr/script e não consigo meter isto a funcionar, alguém sabe como?
#!/bin/sh
#Simple script to ensure CCcam is running
#if the CCcam process is missing
#it will restart CCcam using the start script
#
#if ps x |grep -v grep |grep -c CCcam_2.1.3 >/dev/null
#then
#echo "The CCcam is running OK."
#else
#echo "The CCcam process is missing !!!!"
#echo "Invoking restart"
#/usr/bin CCcam_2.1.3 start
#fi
#exit
#this script was created by CCcam team
#this file was downloaded from The cccam forum
#visit us to support CCcam hxxp://www.cccamforum.info
#!/bin/sh
if ps x |grep -v grep |grep -c cccam >/dev/null
then
echo "CCcam_2.1.3... ok"
echo && date >> /var/log/cccam.ok
else
echo "CCcam_2.1.3... restarting"
echo && date >> /var/log/cccam.check
fi
tenho também em etc/cron/contrabs isto:
0-59/1 * * * * /bin/checkcccam
falta alguma fazer alguma coisa ou não é só isto?
Ah, é para uma 500HD (clone) com imagem nemesis.
Tenho o mesmo numa 7020HD e funciona 5**** (não fui eu que fiz) na 500HD...aqui queria ser eu, nem pó nem poeira hehehe
1 abraço nansediz
Tenho este script em usr/script e não consigo meter isto a funcionar, alguém sabe como?
#!/bin/sh
#Simple script to ensure CCcam is running
#if the CCcam process is missing
#it will restart CCcam using the start script
#
#if ps x |grep -v grep |grep -c CCcam_2.1.3 >/dev/null
#then
#echo "The CCcam is running OK."
#else
#echo "The CCcam process is missing !!!!"
#echo "Invoking restart"
#/usr/bin CCcam_2.1.3 start
#fi
#exit
#this script was created by CCcam team
#this file was downloaded from The cccam forum
#visit us to support CCcam hxxp://www.cccamforum.info
#!/bin/sh
if ps x |grep -v grep |grep -c cccam >/dev/null
then
echo "CCcam_2.1.3... ok"
echo && date >> /var/log/cccam.ok
else
echo "CCcam_2.1.3... restarting"
echo && date >> /var/log/cccam.check
fi
tenho também em etc/cron/contrabs isto:
0-59/1 * * * * /bin/checkcccam
falta alguma fazer alguma coisa ou não é só isto?
Ah, é para uma 500HD (clone) com imagem nemesis.
Tenho o mesmo numa 7020HD e funciona 5**** (não fui eu que fiz) na 500HD...aqui queria ser eu, nem pó nem poeira hehehe
1 abraço nansediz
Última edição: