Skip to content

Commit

Permalink
Venton/Sogno: Fix boxnames for detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Schimmelreiter committed Jul 13, 2019
1 parent 9a4772e commit 0979c99
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions oscam-config-global.c
Expand Up @@ -1213,21 +1213,6 @@ extern const char *boxdesc[];

static void dvbapi_boxtype_fn(const char *token, char *value, void *UNUSED(setting), FILE *f)
{
if(
boxtype_is("sogno8800hd") ||
boxtype_is("ini-1000lx") ||
boxtype_is("ini-1000de") ||
boxtype_is("ini-3000") ||
boxtype_is("ini-5000") ||
boxtype_is("ini-7000") ||
boxtype_is("ini-7012") ||
boxtype_is("ini-8000am") ||
boxtype_is("ini-9000ru") ||
boxtype_is("ini-8000sv") ||
boxtype_is("ini-9000de")
) {
cfg.dvbapi_boxtype = 14;
}
if(value)
{
int i;
Expand All @@ -1243,6 +1228,9 @@ static void dvbapi_boxtype_fn(const char *token, char *value, void *UNUSED(setti
return;
}

if(boxtype_is("sogno-8800hd") || boxtype_is("unibox-hde")) {
cfg.dvbapi_boxtype = 14;
}
if(cfg.dvbapi_boxtype)
{ fprintf_conf(f, token, "%s\n", boxdesc[cfg.dvbapi_boxtype]); }
}
Expand Down

0 comments on commit 0979c99

Please sign in to comment.