diff options
Diffstat (limited to 'libs/sgi-luci')
-rwxr-xr-x | libs/sgi-luci/root/usr/bin/luci-httpd | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/sgi-luci/root/usr/bin/luci-httpd b/libs/sgi-luci/root/usr/bin/luci-httpd index 7f2ee50fa..091e38b21 100755 --- a/libs/sgi-luci/root/usr/bin/luci-httpd +++ b/libs/sgi-luci/root/usr/bin/luci-httpd @@ -27,7 +27,5 @@ 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.debug = true -daemon:register(serversocket, server:create_daemon_handlers()) -daemon:run() +luci.httpd.register(serversocket, server:create_daemon_handlers()) +luci.httpd.run() |