some minor renamings

Origin commit data
------------------
Branch: ni/coolstream
Commit: f3ded5d509
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-09 (Thu, 09 Nov 2017)

Origin message was:
------------------
- some minor renamings

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-09 20:56:57 +01:00
parent c898635587
commit 43f3c8bae2
7 changed files with 44 additions and 31 deletions

View File

@@ -274,6 +274,8 @@ typedef enum
LOCALE_CA_INIT_2,
LOCALE_CABLESETUP_PROVIDER,
LOCALE_CAMD_CONTROL,
LOCALE_CAMD_ITEM_CIPLUSHELPER_HINT,
LOCALE_CAMD_ITEM_CIPLUSHELPER_NAME,
LOCALE_CAMD_ITEM_CS2GBOX_HINT,
LOCALE_CAMD_ITEM_CS2GBOX_NAME,
LOCALE_CAMD_ITEM_DOSCAM_HINT,

View File

@@ -274,6 +274,8 @@ const char * locale_real_names[] =
"ca_init_2",
"cablesetup.provider",
"camd_control",
"camd_item_ciplushelper_hint",
"camd_item_ciplushelper_name",
"camd_item_cs2gbox_hint",
"camd_item_cs2gbox_name",
"camd_item_doscam_hint",

View File

@@ -184,13 +184,14 @@ bool CFlagFileNotifier::changeNotify(const neutrino_locale_t, void * data)
strstr(filename, "ncam") ||
strstr(filename, "oscam") ||
strstr(filename, "cs2gbox") ||
strstr(filename, "ciplushelper")||
strstr(filename, "gbox"))
{
CHintBox hintbox(LOCALE_CAMD_CONTROL, g_Locale->getText(LOCALE_CAMD_MSG_START));
hintbox.paint();
printf("[CFlagFileNotifier] executing \"service emu start %s\"\n", filename);
if (my_system(4, "service", "emu", "start", filename) != 0)
printf("[CFlagFileNotifier] executing \"service camd start %s\"\n", filename);
if (my_system(4, "service", "camd", "start", filename) != 0)
printf("[CFlagFileNotifier] executing failed\n");
sleep(1);
@@ -232,13 +233,14 @@ bool CFlagFileNotifier::changeNotify(const neutrino_locale_t, void * data)
strstr(filename, "ncam") ||
strstr(filename, "oscam") ||
strstr(filename, "cs2gbox") ||
strstr(filename, "ciplushelper")||
strstr(filename, "gbox"))
{
CHintBox hintbox(LOCALE_CAMD_CONTROL, g_Locale->getText(LOCALE_CAMD_MSG_STOP));
hintbox.paint();
printf("[CFlagFileNotifier] executing \"service emu stop %s\"\n", filename);
if (my_system(4, "service", "emu", "stop", filename) != 0)
printf("[CFlagFileNotifier] executing \"service camd stop %s\"\n", filename);
if (my_system(4, "service", "camd", "stop", filename) != 0)
printf("[CFlagFileNotifier] executing failed\n");
sleep(1);