aboutsummaryrefslogtreecommitdiff
path: root/tools/etc/rc.local
diff options
context:
space:
mode:
authorcassio <cassiopc@gmail.com>2015-08-28 09:31:34 +0000
committercassio <cassiopc@gmail.com>2015-08-28 09:31:34 +0000
commit56b10a617339563cda2c761e77b3acb96a1b084c (patch)
treeb0856564f7652ec2940aa6f0595cef1c7b73b52a /tools/etc/rc.local
parent2a185532e3a0acf9e37e601fc71c148510dd36a7 (diff)
downloadboca-56b10a617339563cda2c761e77b3acb96a1b084c.tar.gz
boca-56b10a617339563cda2c761e77b3acb96a1b084c.zip
small bug fixes
Diffstat (limited to 'tools/etc/rc.local')
-rwxr-xr-xtools/etc/rc.local9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/etc/rc.local b/tools/etc/rc.local
index 2b0fff8..5bff287 100755
--- a/tools/etc/rc.local
+++ b/tools/etc/rc.local
@@ -25,10 +25,19 @@ grep -q "143.107.255.15.*ntp.usp.br.*ntp.usp.br" /etc/hosts
if [ $? != 0 ]; then
echo "143.107.255.15 ntp.usp.br ntp.usp.br" >> /etc/hosts
fi
+grep -q "50.116.19.221.*www.bombonera.org.*www.bombonera.org" /etc/hosts
+if [ $? != 0 ]; then
+ echo "50.116.19.221 www.bombonera.org www.bombonera.org" >> /etc/hosts
+fi
+grep -q "45.33.30.235.*boca.bombonera.org.*boca.bombonera.org" /etc/hosts
+if [ $? != 0 ]; then
+ echo "45.33.30.235 boca.bombonera.org boca.bombonera.org" >> /etc/hosts
+fi
grep -q "143.107.45.22.*www.ime.usp.br.*www.ime.usp.br" /etc/hosts
if [ $? != 0 ]; then
echo "143.107.45.22 www.ime.usp.br www.ime.usp.br" >> /etc/hosts
fi
+
ntpdate -u ntp.usp.br
ntpdate -u ntp.usp.br
exit 0