Ignore:
Timestamp:
01/19/10 23:41:08 (13 years ago)
Author:
alno
Message:

WebIf:

  • functionality added to start a script which is defined in oscam.conf [monitor] as "httpscript=<path>"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/monitor-improvement/oscam-config.c

    r1270 r1298  
    445445  if (!strcmp(token, "httppwd")) { cs_strncpy(cfg->http_pwd, value, sizeof(cfg->http_pwd)); return; }
    446446  if (!strcmp(token, "httpcss")) { cs_strncpy(cfg->http_css, value, sizeof(cfg->http_css)); return; }
     447  if (!strcmp(token, "httpscript")) { cs_strncpy(cfg->http_script, value, sizeof(cfg->http_script)); return; }
    447448  if (!strcmp(token, "httptpl")) {     
    448449    cs_strncpy(cfg->http_tpl, value, sizeof(cfg->http_tpl));
     
    981982    fprintf_conf(f, CONFVARWIDTH, "httppwd", "%s\n", cfg->http_pwd);
    982983    fprintf_conf(f, CONFVARWIDTH, "httpcss", "%s\n", cfg->http_css);
     984    fprintf_conf(f, CONFVARWIDTH, "httpscript", "%s\n", cfg->http_script);
    983985    fprintf_conf(f, CONFVARWIDTH, "httprefresh", "%d\n", cfg->http_refresh);
    984986    fprintf_conf(f, CONFVARWIDTH, "httphideidleclients", "%d\n", cfg->http_hide_idle_clients);
Note: See TracChangeset for help on using the changeset viewer.