diff --git a/config.php b/config.php index 65eab06..5292834 100644 --- a/config.php +++ b/config.php @@ -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"); diff --git a/install.sh b/install.sh index 99caf59..264a767 100644 --- a/install.sh +++ b/install.sh @@ -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 \ No newline at end of file