summaryrefslogtreecommitdiffstats
path: root/ship/src/tor_publish_ssh
diff options
context:
space:
mode:
Diffstat (limited to 'ship/src/tor_publish_ssh')
-rwxr-xr-xship/src/tor_publish_ssh14
1 files changed, 14 insertions, 0 deletions
diff --git a/ship/src/tor_publish_ssh b/ship/src/tor_publish_ssh
new file mode 100755
index 00000000..14cb9cb4
--- /dev/null
+++ b/ship/src/tor_publish_ssh
@@ -0,0 +1,14 @@
+#!/bin/sh
+#@include core
+#@include network
+#@include punani
+#@include tor
+
+
+
+punani install tor
+
+test -w "$torrc" || ( error "$torrc is not writable!"; exit 1 ) || exit 1
+
+configure_hidden_service
+cat $hidden_service_dir/hostname | send_irc