diff options
author | Christian Hesse <mail@eworm.de> | 2022-05-10 14:59:00 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-05-11 13:48:27 +0200 |
commit | 270e608d566a6b2807b604a138b1bfcdbddf99ff (patch) | |
tree | bad8cab316662afc446a33dfa1401efd448fa3c5 /gps-track | |
parent | 294aff9c02fd1a40f982654fb4f22b2afa0e4096 (diff) |
gps-track: RouterOS v7 path syntax
Diffstat (limited to 'gps-track')
-rw-r--r-- | gps-track | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,11 +15,11 @@ :global LogPrintExit2; -:local CoordinateFormat [ / system gps get coordinate-format ]; -:local Gps [ / system gps monitor once as-value ]; +:local CoordinateFormat [ /system/gps/get coordinate-format ]; +:local Gps [ /system/gps/monitor once as-value ]; :if ($Gps->"valid" = true) do={ - / tool fetch check-certificate=yes-without-crl $GpsTrackUrl output=none \ + /tool/fetch check-certificate=yes-without-crl $GpsTrackUrl output=none \ http-method=post http-header-field="Content-Type: application/json" \ http-data=("{" . \ "\"lat\":\"" . ($Gps->"latitude") . "\"," . \ |