aboutsummaryrefslogtreecommitdiffstats
path: root/daily-psk.template.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'daily-psk.template.rsc')
-rw-r--r--daily-psk.template.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/daily-psk.template.rsc b/daily-psk.template.rsc
index 2f2838e..93cefeb 100644
--- a/daily-psk.template.rsc
+++ b/daily-psk.template.rsc
@@ -31,7 +31,9 @@
:global WaitForFile;
:global WaitFullyConnected;
- $ScriptLock $ScriptName;
+ :if ([ $ScriptLock $ScriptName ] = false) do={
+ :return false;
+ }
$WaitFullyConnected;
# return pseudo-random string for PSK