aboutsummaryrefslogtreecommitdiff
path: root/tools/etc/rc.local
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-08-10 10:35:53 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-08-10 10:35:53 +0000
commit02b4aacc81613792b0fa618692145dc1e2989e42 (patch)
treeda7e9da7a587e8ffa9032ebf02a1022a315e9305 /tools/etc/rc.local
parente1b61094597488dcb3ef166013186b07bf379d76 (diff)
downloadboca-02b4aacc81613792b0fa618692145dc1e2989e42.tar.gz
boca-02b4aacc81613792b0fa618692145dc1e2989e42.zip
removal of old files, preparation for https
Diffstat (limited to 'tools/etc/rc.local')
-rwxr-xr-xtools/etc/rc.local35
1 files changed, 0 insertions, 35 deletions
diff --git a/tools/etc/rc.local b/tools/etc/rc.local
deleted file mode 100755
index d6e943b..0000000
--- a/tools/etc/rc.local
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-#
-# rc.local
-#
-# This script is executed at the end of each multiuser runlevel.
-# Make sure that the script will "exit 0" on success or any other
-# value on error.
-#
-# In order to enable or disable this script just change the execution
-# bits.
-#
-# By default this script does nothing.
-
-if [ -x /etc/icpc/doclean.sh ]; then
- /etc/icpc/doclean.sh
-fi
-
-grep -iq "iface.*eth0" /etc/network/interfaces
-if [ $? != 0 ]; then
- echo "auto eth0" >> /etc/network/interfaces
- echo "iface eth0 inet dhcp" >> /etc/network/interfaces
-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 "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 198.60.22.240
-ntpdate -u 104.232.3.3
-exit 0