annuncio

Comprimi
Ancora nessun annuncio.

doppia oscam

Comprimi
X
Comprimi
Currently Active Users Viewing This Thread: 0 (0 members and 0 guests)
 
  • Filtro
  • Ora
  • Visualizza
Elimina tutto
nuovi messaggi
  • #16

    Re: doppia oscam

    forza ragazzi da temi una mano
    1° premio Avatar +mostruoso dell'anno
    Bliner-key Freinds 2012-23
    By Cli.t

    COMMENTA

    • #17

      Re: doppia oscam

      Guarda nello script se punta realmente al path di Oscar altrimenti correggi, poi dalla voce sistema potresti anche aggiungerlo ai servizi in avvio..
      Sei su wezzy?

      COMMENTA

      • #18

        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 10
        1° premio Avatar +mostruoso dell'anno
        Bliner-key Freinds 2012-23
        By Cli.t

        COMMENTA

        • #19

          Re: doppia oscam

          ho postato lo script perche non ci capisco una mazza di script non capisco dove ce lo sbaglio grz per l aiuto
          1° premio Avatar +mostruoso dell'anno
          Bliner-key Freinds 2012-23
          By Cli.t

          COMMENTA

          • #20

            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

            Sto operando...
            X