From daa15290ab4a93867fcf863eee1ce1b9bde1d5ea Mon Sep 17 00:00:00 2001
From: Jan-Philipp Litza <janphilipp@litza.de>
Date: Mon, 31 Aug 2015 22:40:25 +0200
Subject: [PATCH] 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.
---
 .../gluon-announce/files/lib/gluon/announce/collect.lua   | 8 --------
 1 file changed, 8 deletions(-)
 delete mode 100755 package/gluon-announce/files/lib/gluon/announce/collect.lua

diff --git a/package/gluon-announce/files/lib/gluon/announce/collect.lua b/package/gluon-announce/files/lib/gluon/announce/collect.lua
deleted file mode 100755
index 3510fbf02..000000000
--- a/package/gluon-announce/files/lib/gluon/announce/collect.lua
+++ /dev/null
@@ -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)))
-- 
GitLab