Merge pull request #87 from freifunk-darmstadt/patch-1

gluon-announce: rename announce.lua to collect.lua
This commit is contained in:
NeoRaider 2015-01-24 11:11:55 +01:00
commit 4947578d48
3 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
* * * * * /lib/gluon/announce/announce.lua nodeinfo | gzip | alfred -s 158; /lib/gluon/announce/announce.lua statistics | gzip | alfred -s 159
* * * * * /lib/gluon/announce/collect.lua nodeinfo | gzip | alfred -s 158; /lib/gluon/announce/collect.lua statistics | gzip | alfred -s 159

View File

@ -21,7 +21,7 @@ restart_announced () {
DEVS=$(cat $DEVLIST | while read dev iface;do echo -n " -i $dev";done)
service_stop $DAEMON
service_start $DAEMON -g ff02:0:0:0:0:0:2:1001 -p 1001 -s '/lib/gluon/announce/announce.lua nodeinfo' $DEVS
service_start $DAEMON -g ff02:0:0:0:0:0:2:1001 -p 1001 -s '/lib/gluon/announce/collect.lua nodeinfo' $DEVS
}
case "$ACTION" in