Skip to content
Snippets Groups Projects
Commit 0521abdd authored by Helge Jung's avatar Helge Jung
Browse files

ffpb-debug: added more clear output and changed target host

parent 2a7387fd
No related branches found
No related tags found
No related merge requests found
...@@ -38,12 +38,16 @@ do ...@@ -38,12 +38,16 @@ do
esac esac
done done
echo "Report stored in: $tf"
if $local ; then if $local ; then
cat $tf echo "No information has been sent to the ffpb-team."
echo "I will not send any information to ffpb-team"
else else
echo "Sending report to ffpb-team" echo "Sending report to ffpb-team ..."
code=`nc debug.paderborn.freifunk.net 1337 < $tf` code=`gzip -c $tf | nc debugreport.paderborn.freifunk.net 1337`
echo "Report number:" if [ $? -eq 0 ]; then
echo $code echo "Report number: "
echo $code
else
echo "Failed to send report :("
fi
fi fi
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