aboutsummaryrefslogtreecommitdiffstats
path: root/update-gre-address.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-06-13 09:06:11 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-06-13 09:07:57 +0200
commit2861610e5a2ace7d1ce1b234db73d75295f7510f (patch)
tree4b1222359dea3f790757633c75fcf58cf92ee544 /update-gre-address.rsc
parentcc3a017507d9228aad412287819ed428a4f1a922 (diff)
update-gre-address: lock the script
Diffstat (limited to 'update-gre-address.rsc')
-rw-r--r--update-gre-address.rsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/update-gre-address.rsc b/update-gre-address.rsc
index 2958055..e38839c 100644
--- a/update-gre-address.rsc
+++ b/update-gre-address.rsc
@@ -13,6 +13,9 @@
:global CharacterReplace;
:global LogPrintExit2;
+:global ScriptLock;
+
+$ScriptLock $0;
/interface/gre/set remote-address=0.0.0.0 disabled=yes [ find where !running !disabled ];