aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcassio <cassiopc@gmail.com>2018-08-27 15:34:54 +0000
committercassio <cassiopc@gmail.com>2018-08-27 15:34:54 +0000
commitd5ec21b42d969d5a5201e07641b850db040afa0a (patch)
treed05325f3783c16803c7a3aceccc89191971ef8b3
parent179d9ba0d47df02a935f13ebec6014cfaf697dad (diff)
downloadboca-d5ec21b42d969d5a5201e07641b850db040afa0a.tar.gz
boca-d5ec21b42d969d5a5201e07641b850db040afa0a.zip
even more time for the logging to end
-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 66bbc24..9140e3b 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; do
+for zcount in 1 2 3 4 5 6 7 8 9 10 11 12; do
grep -e sudo -e "password:session" /var/log/auth.log | tail -n 100 > /root/.logsession.tmp
[ -f /root/.logsession ] || touch /root/.logsession
@@ -89,7 +89,7 @@ for zcount in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
[ -f /root/.logkeys.tmp ] && mv /root/.logkeys.tmp /root/.logkeys
[ -f /root/.logfs.tmp ] && mv /root/.logfs.tmp /root/.logfs
[ -f /root/.logkfs.tmp ] && mv /root/.logkfs.tmp /root/.logkfs
- [ "$zcount" == "15" ] || sleep 10
+ [ "$zcount" == "12" ] || sleep 10
done
exit 0