aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-06-13 09:00:15 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-06-13 09:00:15 +0200
commitf375b7fbf79660fd2b532c33469d6f2996986179 (patch)
tree4a5c372db16ee1a15d5cc390a838da35ecf421a7
parent4176fd058eecb5553b0bbd6c15577b298b4f4d04 (diff)
gps-track: lock the script
-rw-r--r--gps-track.rsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gps-track.rsc b/gps-track.rsc
index d0d1232..c601e04 100644
--- a/gps-track.rsc
+++ b/gps-track.rsc
@@ -14,6 +14,9 @@
:global Identity;
:global LogPrintExit2;
+:global ScriptLock;
+
+$ScriptLock $0;
:local CoordinateFormat [ /system/gps/get coordinate-format ];
:local Gps [ /system/gps/monitor once as-value ];