From 9e3219cc2fa2890f9a69f55b5f2b1be2cd32a93a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Tue, 24 May 2022 08:52:12 +0200 Subject: [PATCH] manman-sync: cleanup todos --- package/gluon-manman-sync/luasrc/usr/bin/manman-sync | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/package/gluon-manman-sync/luasrc/usr/bin/manman-sync b/package/gluon-manman-sync/luasrc/usr/bin/manman-sync index 3f139007..4452a4ee 100755 --- a/package/gluon-manman-sync/luasrc/usr/bin/manman-sync +++ b/package/gluon-manman-sync/luasrc/usr/bin/manman-sync @@ -13,7 +13,7 @@ local hostname = pretty_hostname.get(uci) local manapi = site.manman.api() local mankey = site.manman.key() --- CLI lib from olsrd-cli (todo: move to it's own lib package) +-- CLI lib from olsrd-cli (TODO: move to it's own lib package) -- DO NOT EDIT HERE, JUST COPY FROM THERE function printf(...) @@ -93,8 +93,6 @@ end -- /// --- TODO: use manman ecdsa key to verify response - -- NOTE: these will have mesh_ appended for static-ip local mappings = { wifi = 'radio0', @@ -289,8 +287,6 @@ local function do_manman_sync() uci:set('gluon-node-info', _location, 'latitude', location.location.lat) uci:set('gluon-node-info', _location, 'longitude', location.location.long) - -- TODO: compare device - -- check if anything changed since last time -- if yes, apply changes and do gluon-reload