summaryrefslogtreecommitdiffstats
path: root/ship/src/tor_publish_ssh
blob: 14cb9cb4c4e743966c757c5fcec7470cc1a715e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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