Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
epggrab: fix the initial settings for OTA modules (enabled)
  • Loading branch information
perexg committed Sep 29, 2015
1 parent b824912 commit d2e0bdb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/epggrab.c
Expand Up @@ -152,8 +152,10 @@ static void _epggrab_load ( void )
free(epggrab_conf.cron);
epggrab_conf.cron = strdup("# Default config (00:04 and 12:04 everyday)\n4 */12 * * *");
LIST_FOREACH(mod, &epggrab_modules, link) // enable all OTA by default
if (mod->type == EPGGRAB_OTA)
if (mod->type == EPGGRAB_OTA) {
mod->enabled = 1;
epggrab_activate_module(mod, 1);
}
}

idnode_notify_changed(&epggrab_conf.idnode);
Expand Down

0 comments on commit d2e0bdb

Please sign in to comment.