forza ragazzi da temi una mano
annuncio
Comprimi
Ancora nessun annuncio.
doppia oscam
Comprimi
X
Comprimi
Currently Active Users Viewing This Thread: 9 (0 members and 9 guests)
-
Re: doppia oscam
ME1="/oscam1/oscam1 -b -c /oscam1/"
#ME2="/oscam2/oscam2 -b -c /oscam2/"
PTH_TMP="/tmp"
if [ ! -e $PTH_TMP ]; then mkdir $PTH_TMP; fi
#################formattazione###############
if [ `date +%m` = 01 ];then mese="Jan";fi
if [ `date +%m` = 02 ];then mese="Feb";fi
if [ `date +%m` = 03 ];then mese="Mar";fi
if [ `date +%m` = 04 ];then mese="Apr";fi
if [ `date +%m` = 05 ];then mese="Maj";fi
if [ `date +%m` = 06 ];then mese="Jun";fi
if [ `date +%m` = 07 ];then mese="Jul";fi
if [ `date +%m` = 08 ];then mese="Ago";fi
if [ `date +%m` = 09 ];then mese="Sep";fi
if [ `date +%m` = 10 ];then mese="Oct";fi
if [ `date +%m` = 11 ];then mese="Nov";fi
if [ `date +%m` = 12 ];then mese="Dec";fi
msg="$mese $(date +%d" "%T) control:"
ME1_ENABLE=1
#################### CONTROLLO Oscam ############################
echo "Stato Emulatore=$ME1_ENABLE"
if [ $ME1_ENABLE -ne 0 ] ;then
ps -ef | grep os > $PTH_TMP/procxxx
if grep $ME1 $PTH_TMP/procxxx
then
echo "Emulatore funzionante"
else
echo "$msg Restarto l'emulatore "
$ME1
echo "$(date +%d/%m/%y" "%T) control.sh: Restarto l'emulatore "
echo "$(date +%d/%m/%y" "%T) control.sh: Restarto l'emulatore $ME1">>/var/log/emu_problem.log
fi
fi
sleep 101° premio Avatar +mostruoso dell'anno
Bliner-key Freinds 2012-23
By Cli.t
COMMENTA
-
Re: doppia oscam
prova così:
ME1="/oscam1/oscam1 -b -c /oscam1/"
ME2="/oscam2/oscam2 -b -c /oscam2/"
PTH_TMP="/tmp"
if [ ! -e $PTH_TMP ]; then mkdir $PTH_TMP; fi
#################formattazione###############
if [ `date +%m` = 01 ];then mese="Jan";fi
if [ `date +%m` = 02 ];then mese="Feb";fi
if [ `date +%m` = 03 ];then mese="Mar";fi
if [ `date +%m` = 04 ];then mese="Apr";fi
if [ `date +%m` = 05 ];then mese="Maj";fi
if [ `date +%m` = 06 ];then mese="Jun";fi
if [ `date +%m` = 07 ];then mese="Jul";fi
if [ `date +%m` = 08 ];then mese="Ago";fi
if [ `date +%m` = 09 ];then mese="Sep";fi
if [ `date +%m` = 10 ];then mese="Oct";fi
if [ `date +%m` = 11 ];then mese="Nov";fi
if [ `date +%m` = 12 ];then mese="Dec";fi
msg="$mese $(date +%d" "%T) control:"
ME1_ENABLE=1
ME2_ENABLE=1
COMMENTA
COMMENTA