blob: 2f657f255e3cbf3cb91d6a51e611fe9653177396 [file] [log] [blame]
#!/bin/sh
while :; do
# TODO(apenwarr): register a new logtype and change the --logtype here.
prefix-logs </var/log/gfiber-loguploader/pipe |
upload-logs --logtype server --freq 60 --stdin dmesg
sleep 1
done 2>&1 | logger -t upload-logs-loop