diff options
author | Christian Hesse <mail@eworm.de> | 2023-09-13 12:17:54 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-09-13 16:08:59 +0200 |
commit | 46e48497d5e9ca0627ad325b8d13d9b6d70c061a (patch) | |
tree | c9c8d628e7ce45ff99a5999f6c343a550cc4f324 /lease-script.rsc | |
parent | 8b8bc7cf2db33aa53ad905e8f0a6b01754ff9c39 (diff) |
lease-script: match on word boundary
Diffstat (limited to 'lease-script.rsc')
-rw-r--r-- | lease-script.rsc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lease-script.rsc b/lease-script.rsc index 9b43e18..f8bc129 100644 --- a/lease-script.rsc +++ b/lease-script.rsc @@ -33,8 +33,7 @@ $ScriptLock $0 false 10; } :local RunOrder ({}); - -:foreach Script in=[ /system/script/find where source~("\n# provides: lease-script, ") ] do={ +:foreach Script in=[ /system/script/find where source~("\n# provides: lease-script\\b") ] do={ :local ScriptVal [ /system/script/get $Script ]; :local Store [ $ParseKeyValueStore [ $Grep ($ScriptVal->"source") ("\23 provides: lease-script, ") ] ]; |