Scripts

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • Hi all!

      How i can change a Emu script for adding new EMU??

      And here can i find the path's for the Start emu script?

      Can someone put here an example of a script like Newcs + mpcs + CCcam ?
      The i have an ideia of how it works, thanks in advance.

      PS: The image Quality of this Image is Great! Good Work!
    • RE: Scripts

      Hi eXaLtY.
      Here an example script with some comments for the variables.
      The location of emu scripts is /usr/script and ending of file name must be .emu.
      Rights of script must be set to 755.

      Shell-Script

      1. #!/bin/sh
      2. ########################################
      3. ###### Powered by NewNigma2 Team ######
      4. ### http://newngima2.to ###
      5. ########################################
      6. # EMUNAME is only Display name for EMU Menu
      7. EMUNAME="Mgcamd 1.30d - Newcs 1.6""
      8. # Set parsing camd for CA OSD
      9. # values are "gbox","mgcamd","evocamd","cccam"
      10. CANAME="mgcamd"
      11. # Set /tmp/ecm.info file delay for CA OSD
      12. values are "200","300","400","500","600","700","800","900","1000"
      13. ECMINFODELAY="400"
      14. remove_tmp () {
      15. [ -e /tmp/ecm.info ] && rm -rf /tmp/ecm.info
      16. [ -e /tmp/mgcamd.pid ] && rm -rf /tmp/mgcamd.pid
      17. [ -e /tmp/mgshare.info ] && rm -rf /tmp/mgshare.info
      18. [ -e /tmp/mgstat.info ] && rm -rf /tmp/mgstat.info
      19. [ -e /tmp/newcs.pid ] && rm -rf /tmp/newcs.pid
      20. }
      21. case "$1" in
      22. start)
      23. echo "[SCRIPT] $1: $EMUNAME"
      24. remove_tmp
      25. /usr/bin/newcs_1.6.mips &
      26. sleep 10
      27. /usr/bin/mgcamd1_30d &
      28. ;;
      29. stop)
      30. echo "[SCRIPT] $1: $EMUNAME"
      31. killall -9 mgcamd1_30d newcs_1.6.mips 2>/dev/null
      32. remove_tmp
      33. ;;
      34. *)
      35. $0 stop
      36. exit 1
      37. ;;
      38. esac
      39. exit 0
      Alles anzeigen
    • RE: Scripts

      Thanks You are the Best!!

      Is this Correct?



      case "$1" in
      start)
      echo "[SCRIPT] $1: $EMUNAME"
      remove_tmp
      /usr/bin/newcs_1.6.mips &
      sleep 10
      /usr/bin/mpcs_0.96.mips &
      sleep 8
      /usr/bin/CCcam_2.04.mips &
      ;;
      stop)
      echo "[SCRIPT] $1: $EMUNAME"
      killall -9 newcs_1.6.mips mpcs_0.96.mpis CCcam_2.04.mpis 2>/dev/null
      remove_tmp
      ;;
      *)
      $0 stop
      exit 1
      ;;
      esac

      exit 0
    • hello,
      The timming really depends on what is loading during the process strating, the best way to find out is to start your own emu 1 at a time, using telnet session.
      And see how many second it takes to complete the starting process.
      for example if there are more then one card iin newcs, or many peer the time will be diferent.
      in mpcs if there are many servers, again the time will be higher.
      normally, 6 seconds is ok for mpcs.
      But againm what works for me, may not be ok for others.

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von ghoast rider ()