aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter_easy_setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/torouter_easy_setup.sh')
-rwxr-xr-xpackages/torouter_easy_setup.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/torouter_easy_setup.sh b/packages/torouter_easy_setup.sh
index 498dc00..2d65481 100755
--- a/packages/torouter_easy_setup.sh
+++ b/packages/torouter_easy_setup.sh
@@ -24,6 +24,14 @@ kGU=
-----END PGP PUBLIC KEY BLOCK-----
EOF
+cat << 'EOF' >> /etc/apt/sources.list
+# Torouter project repo
+deb http://torrouter.torproject.org/torrouter torrouter main
+EOF
+
apt-key add /tmp/torouter-repo.key
apt-get update
apt-get install -t torrouter -y torouter-prep
+
+echo "We're going to trash your system now; you have 30 seconds to bail out!"
+sleep 30 && /usr/bin/torouter_config.sh