summaryrefslogtreecommitdiffstats
path: root/remote/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy
diff options
context:
space:
mode:
authorSimon Rettberg2013-12-02 14:33:10 +0100
committerSimon Rettberg2013-12-02 14:33:10 +0100
commit02b2d374548aa26a591ed5ae1467c892203c760d (patch)
treeae0e666875c4620f665ee12b2c4a9b47981644e1 /remote/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy
parentDoc + comments ... (diff)
downloadtm-scripts-02b2d374548aa26a591ed5ae1467c892203c760d.tar.gz
tm-scripts-02b2d374548aa26a591ed5ae1467c892203c760d.tar.xz
tm-scripts-02b2d374548aa26a591ed5ae1467c892203c760d.zip
Checked and changed the shebang of some more scripts. As we want to use ash in out own scripts whenever possible, only use bash where the scripts require a certain bash feature. Also add a comment right below the bash shebang that says we're not accidentally using bash here, but for a reason.
Diffstat (limited to 'remote/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy')
-rwxr-xr-xremote/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy3
1 files changed, 2 insertions, 1 deletions
diff --git a/remote/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy b/remote/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy
index 675f12cd..4f802f53 100755
--- a/remote/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy
+++ b/remote/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy
@@ -1,4 +1,5 @@
-#!/bin/ash
+#!/bin/bash
+# Needs full bash
for wait in 1 1 2 3 4 6 8 10 end; do
grep '^#_RCONFIG_TAG$' /opt/openslx/config > /dev/null && echo "Config found!" && break