aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-06-13 08:52:03 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-06-13 08:58:32 +0200
commit40f2953dde0b07b8868d38f1fee0c6a183e3c005 (patch)
treee8816cfa78929cb0cc008add9c0f68467cc5f05f
parentd2de9be4394b5a8dc8aa93f262440545a046a90c (diff)
daily-psk: lock the script
-rw-r--r--daily-psk.capsman.rsc2
-rw-r--r--daily-psk.local.rsc2
-rw-r--r--daily-psk.template.rsc2
3 files changed, 6 insertions, 0 deletions
diff --git a/daily-psk.capsman.rsc b/daily-psk.capsman.rsc
index a24d761..0b5e666 100644
--- a/daily-psk.capsman.rsc
+++ b/daily-psk.capsman.rsc
@@ -19,12 +19,14 @@
:global FormatLine;
:global LogPrintExit2;
+:global ScriptLock;
:global SendNotification2;
:global SymbolForNotification;
:global UrlEncode;
:global WaitForFile;
:global WaitFullyConnected;
+$ScriptLock $0;
$WaitFullyConnected;
# return pseudo-random string for PSK
diff --git a/daily-psk.local.rsc b/daily-psk.local.rsc
index 5e6e30f..df6d962 100644
--- a/daily-psk.local.rsc
+++ b/daily-psk.local.rsc
@@ -19,12 +19,14 @@
:global FormatLine;
:global LogPrintExit2;
+:global ScriptLock;
:global SendNotification2;
:global SymbolForNotification;
:global UrlEncode;
:global WaitForFile;
:global WaitFullyConnected;
+$ScriptLock $0;
$WaitFullyConnected;
# return pseudo-random string for PSK
diff --git a/daily-psk.template.rsc b/daily-psk.template.rsc
index 966a407..777f6c0 100644
--- a/daily-psk.template.rsc
+++ b/daily-psk.template.rsc
@@ -20,12 +20,14 @@
:global FormatLine;
:global LogPrintExit2;
+:global ScriptLock;
:global SendNotification2;
:global SymbolForNotification;
:global UrlEncode;
:global WaitForFile;
:global WaitFullyConnected;
+$ScriptLock $0;
$WaitFullyConnected;
# return pseudo-random string for PSK