gluon-announce: Remove now unused collect.lua

The file promotes the probably unnecessary re-execution of the announce
scripts. Instead, gluon-announced should be queried using

    gluon-neighbour-info -d ::1 -p 1001 -t0 -r nodeinfo

if both gluon-announced and gluon-neighbour-info are present. But to not
depend on any of those, no script for this one-liner is provided.
This commit is contained in:
Jan-Philipp Litza 2015-08-31 22:40:25 +02:00 committed by Matthias Schiffer
parent bae6519279
commit daa15290ab

View File

@ -1,8 +0,0 @@
#!/usr/bin/lua
local announce = require 'gluon.announce'
local json = require 'luci.jsonc'
local announce_dir = '/lib/gluon/announce/' .. arg[1] .. '.d'
print(json.stringify(announce.collect_dir(announce_dir)))