summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-03-19 12:24:53 +0100
committermakefu <github@syntax-fehler.de>2014-03-19 12:24:53 +0100
commitd475d7de351832268cd8c059633eef97034c12ac (patch)
treef589830df9739d9b6979e27789a9b994e8236400
parent9313a5c2ddc276d56e0b2d100ea463a939270399 (diff)
filehooker: remove legacy code
-rwxr-xr-xfilehooker/root-image/krebs/bin/tor_configure_hidden_service.ship8
1 files changed, 0 insertions, 8 deletions
diff --git a/filehooker/root-image/krebs/bin/tor_configure_hidden_service.ship b/filehooker/root-image/krebs/bin/tor_configure_hidden_service.ship
index ec4f33b6..1e026d26 100755
--- a/filehooker/root-image/krebs/bin/tor_configure_hidden_service.ship
+++ b/filehooker/root-image/krebs/bin/tor_configure_hidden_service.ship
@@ -14,11 +14,3 @@ test ! -e $hidden_service_dir/hostname && \
info "hidden service file does not exist, restarting tor" && \
systemctl restart tor && \
sleep 1
-
-while ! internet;do
- info "no internet yet, sleeping"
- sleep $sleep_time
-done
-
-NICK=$(get_hostname)
-cat "$hidden_service_dir/hostname" | send_irc