summaryrefslogtreecommitdiffhomepage
path: root/libs/httpd/host/runluci
diff options
context:
space:
mode:
Diffstat (limited to 'libs/httpd/host/runluci')
-rwxr-xr-xlibs/httpd/host/runluci6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/httpd/host/runluci b/libs/httpd/host/runluci
index b82efce1c0..1d5812679e 100755
--- a/libs/httpd/host/runluci
+++ b/libs/httpd/host/runluci
@@ -27,7 +27,7 @@ vhost:set_handler("/luci", lucihandler)
io.stderr:write("Starting LuCI HTTPD on port " .. PORT .. "...\n")
io.stderr:write("Point your browser to http://localhost:" .. PORT .. "/luci\n")
-daemon = luci.httpd.Daemon()
+--daemon = luci.httpd.Daemon()
--daemon.debug = true
-daemon:register(serversocket, server:create_daemon_handlers())
-daemon:run()
+luci.httpd.register(serversocket, server:create_daemon_handlers())
+luci.httpd.run()