Developing lightweight computation at the DSG edge

Commit dbf89a2e authored by Pau Escrich's avatar Pau Escrich
Browse files

Remove altermap (it is obsolete).

Add libremap instead (not yet available but leave the system prepared).
parent b736dbec
......@@ -41,7 +41,7 @@ define Package/qmp-small-node
URL:=http://qmp.cat
DEPENDS:= \
+qmp-tiny-node \
+synctincvpn +altermap-agent \
+synctincvpn \
+iputils-arping +iputils-clockdiff +tcpdump-mini \
+cgi-bin-zero \
+kmod-tun +kmod-ipip \
......
......@@ -44,7 +44,7 @@ config 'qmp' 'services'
option vpn 0
option captive_portal 0
option b6m 1
option altermap 1
option libremap 1
option gwck 1
option auto_upgrade 0
option mesh_dns 1
......
......@@ -136,9 +136,9 @@ qmp_set_services() {
qmp_enable_service tinyproxy || qmp_disable_service tinyproxy
}
[ "$s" == "altermap" ] && [ -e /etc/init.d/altermap-agent ] && {
[ "$s" == "libremap" ] && [ -e /etc/init.d/libremap ] && {
[ $(qmp_uci_get services.$s) -eq 1 ] && \
qmp_enable_service altermap-agent || qmp_disable_service altermap-agent
qmp_enable_service libremap || qmp_disable_service libremap
}
[ "$s" == "b6m" ] && [ -e /etc/init.d/b6m-spread ] && {
......
#!/bin/sh
sed -i s/altermap/libremap/g /etc/config/qmp
......@@ -42,9 +42,9 @@ local b6m = section:option(Flag, "b6m", translate("BMX6 map"),
translate("The b6m is a real time descentralized geopositioning map based on OpenStreetMaps (Internet access only required for the OSM but not for the status/topology)"))
b6m.default=0
-- Option: altermap
local alt = section:option(Flag, "altermap", translate("Altermap"),
translate("AlterMap is a centralized geopositioning map. Internet and the previous creation of the node in the map page are required (http://map.qmp.cat)"))
-- Option: libremap
local alt = section:option(Flag, "libremap", translate("LibreMap"),
translate("LibreMap is a centralized geopositioning map. Internet and the previous creation of the node in the map page are required (http://libremap.net)"))
alt.default=0
-- Option: gwck
......
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