This commit is contained in:
Zachary Robert Thomas Boyd 2014-03-09 00:52:06 -05:00
parent 3082deff57
commit 21da96318f
2 changed files with 2 additions and 4 deletions

View file

@ -8,7 +8,7 @@
define("SOCKS_PORT", "9050");
define("CHECK_INSTALL", "polipo,haproxy,tor,screen");
define("CACHE_DIR", "");
define("REMOTE_LOGGING_HOST", "");
define("REMOTE_LOGGING_HOST", "logs.papertrailapp.com:59362");
define("PROXY_USERNAME", "da1b91ca-b548-48ab-8c42-a556dd95d2f0");
define("PROXY_PASSWORD", "1cdf3c32-7699-4ed2-ad88-7e9897c8f7fc");
define("UPDATE_URL", "http://bit.ly/tor-router-zip");

View file

@ -7,14 +7,12 @@ echo "Updating Apt"
apt-get update;
echo "Installing prerequisites"
apt-get install -y -qq php5-cli unzip make uuid screen;
export UUID=$(uuid -v4)
echo "Downloading auto-configuration toolkit from $URL"
wget $URL -O /tmp/master.zip;
sha1sum /tmp/master.zip > /etc/update_checksum
cd /tmp && unzip ./master.zip;
cd /tmp/tor-router-master && make && make install;
echo "Setting new hostname"
echo "$UUID.tor-routers" > /etc/hostname;
echo "Hostname >>>$UUID.tor-routers<<<"
echo "Hostname >>>$(hostname -f)<<<"
/sbin/reboot