Просмотр исходного кода

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.
Jan-Philipp Litza 8 лет назад
Родитель
Сommit
daa15290ab
1 измененных файлов с 0 добавлено и 8 удалено
  1. 0 8
      package/gluon-announce/files/lib/gluon/announce/collect.lua

+ 0 - 8
package/gluon-announce/files/lib/gluon/announce/collect.lua

@@ -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)))