From: Andreas Ă–man Date: Fri, 2 May 2008 13:55:25 +0000 (+0000) Subject: Always load the AJAX user interface, it's protected with access control now X-Git-Tag: 2.12~1059 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e1df4376e32601fd44b509b83b37d2020daed7c7;p=thirdparty%2Ftvheadend.git Always load the AJAX user interface, it's protected with access control now --- diff --git a/main.c b/main.c index ef291e7b1..47ca34182 100644 --- a/main.c +++ b/main.c @@ -125,16 +125,12 @@ main(int argc, char **argv) int logfacility = LOG_DAEMON; int disable_dvb = 0; int p; - int doajax = 0; char buf[400]; signal(SIGPIPE, handle_sigpipe); - while((c = getopt(argc, argv, "c:fu:g:dA")) != -1) { + while((c = getopt(argc, argv, "c:fu:g:d")) != -1) { switch(c) { - case 'A': - doajax = 1; - break; case 'd': disable_dvb = 1; break; @@ -253,9 +249,7 @@ main(int argc, char **argv) // htmlui_start(); webui_start(); - - if(doajax) - ajaxui_start(); + ajaxui_start(); avgen_init();