aboutsummaryrefslogtreecommitdiff
path: root/tools/boca-submit-log
diff options
context:
space:
mode:
authorcassio <cassiopc@gmail.com>2018-08-27 15:23:01 +0000
committercassio <cassiopc@gmail.com>2018-08-27 15:23:01 +0000
commitc5bf4f9af7a92707b2c6cfa02465423694e0fb58 (patch)
treef5fadb4b2c7cf90127448d0a3893b1bfdd5414a0 /tools/boca-submit-log
parent540e43f370c3c1f38b9d337cd64d2b39a413ac57 (diff)
downloadboca-c5bf4f9af7a92707b2c6cfa02465423694e0fb58.tar.gz
boca-c5bf4f9af7a92707b2c6cfa02465423694e0fb58.zip
less logs to avoid clash
Diffstat (limited to 'tools/boca-submit-log')
-rw-r--r--tools/boca-submit-log4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/boca-submit-log b/tools/boca-submit-log
index 286e5f6..c7187d5 100644
--- a/tools/boca-submit-log
+++ b/tools/boca-submit-log
@@ -15,7 +15,7 @@ if [ "$BOCASERVER" == "" ]; then
exit 1
fi
-for zcount in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16; do
+for zcount in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
grep -e sudo -e "password:session" /var/log/auth.log | tail -n 100 > /root/.logsession.tmp
[ -f /root/.logsession ] || touch /root/.logsession
@@ -82,7 +82,7 @@ for zcount in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16; do
[ -f /root/.logsession.tmp ] && mv /root/.logsession.tmp /root/.logsession
[ -f /root/.logkeys.tmp ] && mv /root/.logkeys.tmp /root/.logkeys
[ -f /root/.logfs.tmp ] && mv /root/.logfs.tmp /root/.logfs
- [ "$zcount" == "16" ] || sleep 10
+ [ "$zcount" == "15" ] || sleep 10
done
exit 0