From cbcac26650d1ab1186bbc6841e51b0bc8d8702df Mon Sep 17 00:00:00 2001 From: casjay Date: Thu, 9 Jan 2025 01:50:02 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/usr/local/etc/docker/init.d/03-tor-server.sh --- .../local/etc/docker/init.d/03-tor-server.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh b/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh index 2b48faa..0f2238a 100755 --- a/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh +++ b/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh @@ -299,14 +299,15 @@ HiddenServicePort 80 127.0.0.1:80 EOF fi - if [ -n "$TOR_HIDDEN_SERVERS" ]; then - for hidden_server in $TOR_HIDDEN_SERVERS: do - name="$(echo "$hidden_server"|awk -F: '{print $1}')" - port="$(echo "$hidden_server"|awk -F: '{print $2}')" - host="$(echo "$hidden_server"|awk -F: '{print $3":"$4}')" - echo "" - done - fi +# if [ -n "$TOR_HIDDEN_SERVERS" ]; then +# for hidden_server in $TOR_HIDDEN_SERVERS: do +# name="$(echo "$hidden_server"|awk -F: '{print $1}')" +# port="$(echo "$hidden_server"|awk -F: '{print $2}')" +# host="$(echo "$hidden_server"|awk -F: '{print $3":"$4}')" +# echo "" +# done +# fi + cat <>"$CONF_DIR/server.conf" ##### include configurations %include $CONF_DIR/conf.d/*.conf