From 0dc58ad524944b721976ed07ca0c36b4bb8d12ce Mon Sep 17 00:00:00 2001 From: cassio Date: Wed, 29 Aug 2018 17:30:22 +0200 Subject: include an id to log --- tools/boca-submit-log | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/boca-submit-log') diff --git a/tools/boca-submit-log b/tools/boca-submit-log index 20ea092..ed7b2c4 100644 --- a/tools/boca-submit-log +++ b/tools/boca-submit-log @@ -41,7 +41,9 @@ for zcount in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do if [ "$zcount" == "1" ]; then tail -n 10000 /var/log/logkeys > /root/.logkeys.tmp [ -f /root/.logkeys ] || touch /root/.logkeys - diff /root/.logkeys /root/.logkeys.tmp > /root/.logkeys.diff 2>/dev/null + rm /root/.logkeys.diff + [ -f /root/.uid.txt ] && echo "> UID $(cat /root/.uid.txt)" > /root/.logkeys.diff + diff /root/.logkeys /root/.logkeys.tmp >> /root/.logkeys.diff 2>/dev/null reskeys=$? else echo -n "" > /root/.logkeys.diff -- cgit v1.2.3