aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter_easy_setup.sh
diff options
context:
space:
mode:
authorArturo FilastoĢ€ <hellais@torproject.org>2011-08-19 15:22:43 +0200
committerArturo FilastoĢ€ <hellais@torproject.org>2011-08-19 15:22:43 +0200
commit21472ffb02bb44782d232ce5efe79042c8cb27c6 (patch)
tree625afbba9ab2eedb565d4597912ca112b3ede91d /packages/torouter_easy_setup.sh
parente4d842cd5c1b66e43687f269adae4e4a4dcbaad7 (diff)
parent7c28ada512ff9f99b11b2b0df4f3b11a37d5f472 (diff)
downloadtorouter-21472ffb02bb44782d232ce5efe79042c8cb27c6.tar.gz
torouter-21472ffb02bb44782d232ce5efe79042c8cb27c6.zip
Merge branch 'master' of ssh://git-rw.torproject.org/torouter
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