From 02b4aacc81613792b0fa618692145dc1e2989e42 Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Thu, 10 Aug 2017 11:35:53 +0100 Subject: removal of old files, preparation for https --- tools/etc/rc.local | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100755 tools/etc/rc.local (limited to 'tools/etc/rc.local') 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 -- cgit v1.2.3