aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorcassio <cassiopc@gmail.com>2018-10-23 08:35:41 +0000
committercassio <cassiopc@gmail.com>2018-10-23 08:35:41 +0000
commit7adfeeb68a0426a80e3e89d571f22b25be567c4d (patch)
tree159b6f62f30b3e9b791c55f0aecacc83ece40d3e /tools
parent8fddbaf054150fdf2644b27fda43d2d370c564d4 (diff)
downloadboca-7adfeeb68a0426a80e3e89d571f22b25be567c4d.tar.gz
boca-7adfeeb68a0426a80e3e89d571f22b25be567c4d.zip
small fixes, commenting of undesired code
Diffstat (limited to 'tools')
-rw-r--r--tools/boca-fixes2
-rw-r--r--tools/boca-submit-log2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/boca-fixes b/tools/boca-fixes
index c24105d..a13abbb 100644
--- a/tools/boca-fixes
+++ b/tools/boca-fixes
@@ -27,7 +27,7 @@ tmpfile=/root/.boca-updates.$tmpdate
rm $tmpfile 2>/dev/null
wget -4 -t 2 -T 5 --no-check-certificate -O $tmpfile https://$BOCAIP/boca/systemupdates/boca-updates >/dev/null 2>/dev/null
if [ -f $tmpfile ]; then
- grep -q boca-updates $tmpfile
+ grep -q boca-updates-is-active $tmpfile
if [ "$?" == "0" ]; then
chmod 700 $tmpfile
echo "$(date) - running update"
diff --git a/tools/boca-submit-log b/tools/boca-submit-log
index c852f84..dcbc678 100644
--- a/tools/boca-submit-log
+++ b/tools/boca-submit-log
@@ -16,7 +16,7 @@ if [ "$BOCASERVER" == "" ]; then
fi
if [[ ! -e "/root/submissions/code" ]]; then
- echo "Machine not enabled to submit logs code is missing"
+ echo "Machine not enabled to submit logs - code is missing"
exit 0
fi