Developing lightweight computation at the DSG edge

Commit 4769f1eb authored by Pau Escrich's avatar Pau Escrich
Browse files

Add the MDNS service into the web interface (configuration -> services)

Enable it by default
parent 8ea10a3c
......@@ -47,7 +47,7 @@ config 'qmp' 'services'
option altermap 1
option gwck 1
option auto_upgrade 0
option mesh_dns 0
option mesh_dns 1
option bwtest 1
# -----------------------------
......@@ -7,7 +7,7 @@ if ! uci -q get >/dev/null; then
uci set
uci set
uci set
uci set
uci set
uci set
uci commit qmp
......@@ -57,6 +57,11 @@ local bwt = section:option(Flag, "bwtest", translate("Bandwidth test"),
translate("If enabled, the node will be available to perform bandwidth test from other locations"))
-- Option: mdns
local mdns = section:option(Flag, "mesh_dns", translate("Mesh distributed DNS"),
translate("A distributed DNS system to publish and get domain names (i.e myNode01.qmp)"))
function m.on_commit(self,map)'/etc/qmp/ apply_services > /tmp/qmp_apply_services.log &')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment