config lucid main
	option pollinterval 15000
	option daemon 1
	option debug 1
	list supports tcpserver
	list supports server

config DirectoryPublisher webroot
	option name 'Webserver Share'
	option physical host/www
	option virtual ''
	option domain ''
	
config LuciWebPublisher luciweb
	option name 'LuCI Webapplication'
	option physical ''
	list virtual /luci
	option domain ''
	option home 1
	
config RPCPublisher	mainrpc
	option namespace 'luci.lucid.rpc'
	list export system
	list export ruci
	list exec ':lo'
	list exec 'root'

config tcpserver httpd
	option entrypoint "luci.lucid.http"
	list supports DirectoryPublisher
	list supports LuciWebPublisher
	
config tcpserver rpcd
	option entrypoint "luci.lucid.rpc"
	list supports RPCPublisher

config daemon http
	option slave httpd
	list address 8080
	list publisher webroot
	list publisher luciweb
	option enabled 1
	
config daemon https
	option slave httpd
	list address 4443
	list publisher webroot
	list publisher luciweb
	option enabled 1
	option encryption enable
	option tls sdk_tls
	
config tls sdk_tls
	option generate 1
	option key /tmp/lucid-tls.key
	option cert /tmp/lucid-tls.cert
	option type asn1

config daemon rpc
	option slave rpcd
	list address 12900
	list publisher mainrpc
	option enabled 1
	
config 'daemon' 'splashr'
        option 'slave' 'httpd'
        list 'address' '8082'
        list 'publisher' 'splashredir'
        option 'enabled' '1'

config 'Redirector' 'splashredir'
        option 'name' 'Splashd'
        option 'virtual' '/'
        option 'physical' ':80/luci/splash'

