summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSimon Rettberg2024-02-01 10:42:21 +0100
committerSimon Rettberg2024-02-01 10:42:21 +0100
commit9a4f4f3259b9a8aa9411dbce886fdcf24af82600 (patch)
tree8735a9c67ea4b58aa53c5b30df91376089c28307 /core
parent[run-virt] Use tcp-reset for TCP firewalling (diff)
downloadmltk-9a4f4f3259b9a8aa9411dbce886fdcf24af82600.tar.gz
mltk-9a4f4f3259b9a8aa9411dbce886fdcf24af82600.tar.xz
mltk-9a4f4f3259b9a8aa9411dbce886fdcf24af82600.zip
[redsocks] config is downloaded in stage 3, no need to wait
Diffstat (limited to 'core')
-rwxr-xr-xcore/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy b/core/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy
index c1224ec7..ff169020 100755
--- a/core/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy
+++ b/core/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy
@@ -1,13 +1,6 @@
#!/bin/bash
# Needs full bash
-for wait in 1 1 2 3 4 6 8 10 end; do
- grep -q '^#_RCONFIG_TAG$' /opt/openslx/config && break
- [ "$wait" == "end" ] && echo "Giving up!" && exit 1
- echo "No config yet..."
- sleep $wait
-done
-
. /opt/openslx/config || echo "Error sourcing config for setup_proxy"
[ -z "$SLX_PROXY_MODE" -o "x$SLX_PROXY_MODE" == "xoff" ] && echo "proxy mode disabled." && exit 0