Advertisement
svenhoefer

Untitled

Nov 9th, 2017
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 3.28 KB | None | 0 0
  1. diff --git a/skel-root/armbox/hd51/etc/init.d/emu b/skel-root/armbox/hd51/etc/init.d/emu
  2. index 208dbf5..1c51cd8 100755
  3. --- a/skel-root/armbox/hd51/etc/init.d/emu
  4. +++ b/skel-root/armbox/hd51/etc/init.d/emu
  5. @@ -12,6 +12,7 @@ F_OSCAM=".oscam"
  6.  F_NCAM=".ncam"
  7.  F_GBOX=".gbox"
  8.  F_CS2GBOX=".cs2gbox"
  9. +F_CIPLUSHELPER=".ciplushelper"
  10.  
  11.  MGCAM_Action()
  12.  {
  13. @@ -228,9 +229,33 @@ CS2GBOX_Action()
  14.     esac
  15.  }
  16.  
  17. +CIPLUSHELPER_Action()
  18. +{
  19. +   case $1 in
  20. +       "start" )
  21. +           SHOWINFO "start ciplushelper"
  22. +           /var/bin/ciplushelper &
  23. +           sleep 1
  24. +       ;;
  25. +       "stop" )
  26. +           SHOWINFO "stop ciplushelper"
  27. +           killall ciplushelper
  28. +           sleep 1
  29. +       ;;
  30. +       * )
  31. +           CIPLUSHELPER_Action "stop"
  32. +           sleep 1
  33. +           CIPLUSHELPER_Action "start"
  34. +       ;;
  35. +   esac
  36. +}
  37. +
  38.  EMU_Action()
  39.  {
  40.     case $1 in
  41. +       "ciplushelper")
  42. +           CIPLUSHELPER_Action $ACTION
  43. +       ;;
  44.         "cs2gbox")
  45.             CS2GBOX_Action $ACTION
  46.         ;;
  47. @@ -256,6 +281,10 @@ EMU_Action()
  48.             MGCAM_Action $ACTION
  49.         ;;
  50.         *)
  51. +           if [ -e $FLAGDIR/$F_CIPLUSHELPER ]; then
  52. +               CIPLUSHELPER_Action $ACTION
  53. +           fi
  54. +
  55.             if [ -e $FLAGDIR/$F_CS2GBOX ]; then
  56.                 CS2GBOX_Action $ACTION
  57.             fi
  58.  
  59.  
  60.  
  61.  
  62. diff --git a/data/locale/deutsch.locale b/data/locale/deutsch.locale
  63. index 762d35a..ec67f0d 100644
  64. --- a/data/locale/deutsch.locale
  65. +++ b/data/locale/deutsch.locale
  66. @@ -247,6 +247,8 @@ ca_init_1 CI-Modul
  67.  ca_init_2 Conax-Karte und CI-Modul
  68.  cablesetup.provider Kabelanbieter
  69.  camd_control camd-Steuerung
  70. +camd_item_ciphlp_hint CI+ Helper
  71. +camd_item_ciphlp_name ciplushelper
  72.  camd_item_cs2gbox_hint cs2gbox - Newcamd Bridge
  73.  camd_item_cs2gbox_name cs2gbox
  74.  camd_item_doscam_hint DOSCam - Softcam und Emulator
  75. diff --git a/src/gui/daemon_control.cpp b/src/gui/daemon_control.cpp
  76. index 1943a9f..ec7a6e1 100644
  77. --- a/src/gui/daemon_control.cpp
  78. +++ b/src/gui/daemon_control.cpp
  79. @@ -151,7 +151,8 @@ camds_data_t camds_data[]=
  80.     {LOCALE_CAMD_ITEM_OSEMU_NAME,   LOCALE_CAMD_ITEM_OSEMU_HINT,    "OSEMU",    "osemu",    0, 0},
  81.     {LOCALE_CAMD_ITEM_NEWCS_NAME,   LOCALE_CAMD_ITEM_NEWCS_HINT,    "NEWCS",    "newcs",    0, 0},
  82.     {LOCALE_CAMD_ITEM_GBOX_NAME,    LOCALE_CAMD_ITEM_GBOX_HINT, "GBOX.NET", "gbox",     0, 0},
  83. -   {LOCALE_CAMD_ITEM_CS2GBOX_NAME, LOCALE_CAMD_ITEM_CS2GBOX_HINT,  "CS2GBOX",  "cs2gbox",  0, 0}
  84. +   {LOCALE_CAMD_ITEM_CS2GBOX_NAME, LOCALE_CAMD_ITEM_CS2GBOX_HINT,  "CS2GBOX",  "cs2gbox",  0, 0},
  85. +   {LOCALE_CAMD_ITEM_CIPHLP_NAME,  LOCALE_CAMD_ITEM_CIPHLP_HINT,   "CIPHLP",   "ciplushelper", 0, 0}
  86.  };
  87.  #define CAMDS_COUNT (sizeof(camds_data)/sizeof(struct camds_data_t))
  88.  
  89. diff --git a/src/system/locals.h b/src/system/locals.h
  90. index 494976f..b7da8ce 100644
  91. --- a/src/system/locals.h
  92. +++ b/src/system/locals.h
  93. @@ -274,6 +274,8 @@ typedef enum
  94.     LOCALE_CA_INIT_2,
  95.     LOCALE_CABLESETUP_PROVIDER,
  96.     LOCALE_CAMD_CONTROL,
  97. +   LOCALE_CAMD_ITEM_CIPHLP_HINT,
  98. +   LOCALE_CAMD_ITEM_CIPHLP_NAME,
  99.     LOCALE_CAMD_ITEM_CS2GBOX_HINT,
  100.     LOCALE_CAMD_ITEM_CS2GBOX_NAME,
  101.     LOCALE_CAMD_ITEM_DOSCAM_HINT,
  102. diff --git a/src/system/locals_intern.h b/src/system/locals_intern.h
  103. index 3a8a3de..27b4960 100644
  104. --- a/src/system/locals_intern.h
  105. +++ b/src/system/locals_intern.h
  106. @@ -274,6 +274,8 @@ const char * locale_real_names[] =
  107.     "ca_init_2",
  108.     "cablesetup.provider",
  109.     "camd_control",
  110. +   "camd_item_ciphlp_hint",
  111. +   "camd_item_ciphlp_name",
  112.     "camd_item_cs2gbox_hint",
  113.     "camd_item_cs2gbox_name",
  114.     "camd_item_doscam_hint",
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement