aboutsummaryrefslogtreecommitdiff
path: root/tools/etc
diff options
context:
space:
mode:
authorcassiopc <cassiopc@gmail.com>2015-11-13 11:32:29 +0000
committercassiopc <cassiopc@gmail.com>2015-11-13 11:32:29 +0000
commit6ed4232421c788aec6c4a014ff8ab6068135d66e (patch)
tree9127907d673011e442ece56ea085abb5b539c936 /tools/etc
parent1443feed49a9d703701448aadca4e419eb938930 (diff)
downloadboca-6ed4232421c788aec6c4a014ff8ab6068135d66e.tar.gz
boca-6ed4232421c788aec6c4a014ff8ab6068135d66e.zip
minor fixes
Diffstat (limited to 'tools/etc')
-rwxr-xr-xtools/etc/cron.hourly/ntp2
-rwxr-xr-xtools/etc/rc.local12
2 files changed, 3 insertions, 11 deletions
diff --git a/tools/etc/cron.hourly/ntp b/tools/etc/cron.hourly/ntp
index 40ea135..8f1cda9 100755
--- a/tools/etc/cron.hourly/ntp
+++ b/tools/etc/cron.hourly/ntp
@@ -1,2 +1,2 @@
#!/bin/bash
-ntpdate -u 143.107.255.15
+ntpdate -u 198.60.22.240
diff --git a/tools/etc/rc.local b/tools/etc/rc.local
index 5bff287..d6e943b 100755
--- a/tools/etc/rc.local
+++ b/tools/etc/rc.local
@@ -21,23 +21,15 @@ if [ $? != 0 ]; then
echo "iface eth0 inet dhcp" >> /etc/network/interfaces
fi
-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
+ntpdate -u 198.60.22.240
+ntpdate -u 104.232.3.3
exit 0