From d475d7de351832268cd8c059633eef97034c12ac Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 19 Mar 2014 12:24:53 +0100 Subject: filehooker: remove legacy code --- filehooker/root-image/krebs/bin/tor_configure_hidden_service.ship | 8 -------- 1 file changed, 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 -- cgit v1.2.3