Skip to content
Snippets Groups Projects
Commit e9b1adfd authored by Michael Schwarz's avatar Michael Schwarz
Browse files

Get host and port from site.conf

parent d41b743e
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,9 @@ else
echo "Report stored in: $tf"
echo "Sending report to ffpb-team ..."
code=`gzip -c $tf | nc debugreport.paderborn.freifunk.net 1337`
HOST=$(lua -e 'print(require("gluon.site_config").debugserver.host)')
PORT=$(lua -e 'print(require("gluon.site_config").debugserver.port)')
code=`gzip -c $tf | nc $HOST $PORT`
if [ $? -eq 0 ]; then
echo "Report number: "
echo $code
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment