Skip to content
Snippets Groups Projects
Commit 1cf4d41c authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-config-mode: use different document root

parent d204b0e2
Branches
Tags
No related merge requests found
......@@ -33,9 +33,10 @@ start() {
ip link set up dev $config_mode_iface
/usr/sbin/telnetd -l /lib/gluon/config-mode/ash-login
/etc/init.d/dropbear start
/etc/init.d/uhttpd start
/usr/sbin/uhttpd -h /lib/gluon/config-mode/www -x /cgi-bin -A 1 -R -p 0.0.0.0:80
/etc/init.d/led start
# correctly finish firstboot
......
#!/usr/bin/lua
require "luci.cacheloader"
require "luci.sgi.cgi"
luci.dispatcher.indexcache = "/tmp/luci-indexcache"
luci.sgi.cgi.run()
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="refresh" content="0; URL=/cgi-bin/luci" />
</head>
<body style="background-color: black">
<a style="color: white; text-decoration: none" href="/cgi-bin/luci">LuCI - Lua Configuration Interface</a>
</body>
</html>
/www/luci-static
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment