Skip to content
Snippets Groups Projects
Commit 780099bd authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

Generate router ID when sending logs

Using the atsha204cmd command line utility.
parent 0f347142
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,7 @@
DAEMONS='ucollect\|updater\|watchdog'
# Where to put the logs (don't forget the question mark at the end)
BASEURL='http://securt-test.labs.nic.cz/logsend/upload.cgi?'
# TODO: Get the router ID
RID=12345
RID="$(atsha204cmd serial-number)"
# Grep regexp: Month date time hostname something.something daemon
logread | \
......
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