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