Merge branch 'global-functions-fail' into next

This commit is contained in:
Christian Hesse 2025-05-06 11:18:23 +02:00
commit be0e9be1ba
57 changed files with 171 additions and 171 deletions

View file

@ -10,11 +10,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:local Seen ({}); :local Seen ({});

View file

@ -10,11 +10,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:local Seen ({}); :local Seen ({});

View file

@ -11,11 +11,11 @@
# !! This is just a template to generate the real script! # !! This is just a template to generate the real script!
# !! Pattern '%TEMPL%' is replaced, paths are filtered. # !! Pattern '%TEMPL%' is replaced, paths are filtered.
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:local Seen ({}); :local Seen ({});

View file

@ -10,11 +10,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:local Seen ({}); :local Seen ({});

View file

@ -9,11 +9,11 @@
# upload backup to MikroTik cloud # upload backup to MikroTik cloud
# https://rsc.eworm.de/doc/backup-cloud.md # https://rsc.eworm.de/doc/backup-cloud.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global BackupRandomDelay; :global BackupRandomDelay;

View file

@ -9,11 +9,11 @@
# create and email backup and config file # create and email backup and config file
# https://rsc.eworm.de/doc/backup-email.md # https://rsc.eworm.de/doc/backup-email.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global BackupPassword; :global BackupPassword;

View file

@ -10,11 +10,11 @@
# save configuration to fallback partition # save configuration to fallback partition
# https://rsc.eworm.de/doc/backup-partition.md # https://rsc.eworm.de/doc/backup-partition.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global BackupPartitionCopyBeforeFeatureUpdate; :global BackupPartitionCopyBeforeFeatureUpdate;

View file

@ -10,11 +10,11 @@
# create and upload backup and config file # create and upload backup and config file
# https://rsc.eworm.de/doc/backup-upload.md # https://rsc.eworm.de/doc/backup-upload.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global BackupPassword; :global BackupPassword;

View file

@ -11,11 +11,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global CleanFilePath; :global CleanFilePath;

View file

@ -12,11 +12,11 @@
# !! This is just a template to generate the real script! # !! This is just a template to generate the real script!
# !! Pattern '%TEMPL%' is replaced, paths are filtered. # !! Pattern '%TEMPL%' is replaced, paths are filtered.
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global CleanFilePath; :global CleanFilePath;

View file

@ -11,11 +11,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global CleanFilePath; :global CleanFilePath;

View file

@ -12,11 +12,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global LogPrint; :global LogPrint;

View file

@ -13,11 +13,11 @@
# !! This is just a template to generate the real script! # !! This is just a template to generate the real script!
# !! Pattern '%TEMPL%' is replaced, paths are filtered. # !! Pattern '%TEMPL%' is replaced, paths are filtered.
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global LogPrint; :global LogPrint;

View file

@ -12,11 +12,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global LogPrint; :global LogPrint;

View file

@ -8,11 +8,11 @@
# renew locally issued certificates # renew locally issued certificates
# https://rsc.eworm.de/doc/certificate-renew-issued.md # https://rsc.eworm.de/doc/certificate-renew-issued.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global CertIssuedExportPass; :global CertIssuedExportPass;

View file

@ -9,11 +9,11 @@
# check for certificate validity # check for certificate validity
# https://rsc.eworm.de/doc/check-certificates.md # https://rsc.eworm.de/doc/check-certificates.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global CertRenewTime; :global CertRenewTime;

View file

@ -8,11 +8,11 @@
# check for RouterOS health state # check for RouterOS health state
# https://rsc.eworm.de/doc/check-health.md # https://rsc.eworm.de/doc/check-health.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global CheckHealthCPUUtilization; :global CheckHealthCPUUtilization;

View file

@ -8,11 +8,11 @@
# check for LTE firmware upgrade, send notification # check for LTE firmware upgrade, send notification
# https://rsc.eworm.de/doc/check-lte-firmware-upgrade.md # https://rsc.eworm.de/doc/check-lte-firmware-upgrade.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global SentLteFirmwareUpgradeNotification; :global SentLteFirmwareUpgradeNotification;

View file

@ -8,11 +8,11 @@
# check perpetual license on CHR # check perpetual license on CHR
# https://rsc.eworm.de/doc/check-perpetual-license.md # https://rsc.eworm.de/doc/check-perpetual-license.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global Identity; :global Identity;

View file

@ -9,11 +9,11 @@
# check for RouterOS update, send notification and/or install # check for RouterOS update, send notification and/or install
# https://rsc.eworm.de/doc/check-routeros-update.md # https://rsc.eworm.de/doc/check-routeros-update.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global Identity; :global Identity;

View file

@ -11,11 +11,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global Identity; :global Identity;

View file

@ -11,11 +11,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global Identity; :global Identity;

View file

@ -12,11 +12,11 @@
# !! This is just a template to generate the real script! # !! This is just a template to generate the real script!
# !! Pattern '%TEMPL%' is replaced, paths are filtered. # !! Pattern '%TEMPL%' is replaced, paths are filtered.
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global Identity; :global Identity;

View file

@ -11,11 +11,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global Identity; :global Identity;

View file

@ -11,11 +11,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global DailyPskMatchComment; :global DailyPskMatchComment;

View file

@ -11,11 +11,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global DailyPskMatchComment; :global DailyPskMatchComment;

View file

@ -12,11 +12,11 @@
# !! This is just a template to generate the real script! # !! This is just a template to generate the real script!
# !! Pattern '%TEMPL%' is replaced, paths are filtered. # !! Pattern '%TEMPL%' is replaced, paths are filtered.
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global DailyPskMatchComment; :global DailyPskMatchComment;

View file

@ -11,11 +11,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global DailyPskMatchComment; :global DailyPskMatchComment;

View file

@ -11,11 +11,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global LogPrint; :global LogPrint;

View file

@ -11,11 +11,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global LogPrint; :global LogPrint;

View file

@ -12,11 +12,11 @@
# !! This is just a template to generate the real script! # !! This is just a template to generate the real script!
# !! Pattern '%TEMPL%' is replaced, paths are filtered. # !! Pattern '%TEMPL%' is replaced, paths are filtered.
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global LogPrint; :global LogPrint;

View file

@ -11,11 +11,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global LogPrint; :global LogPrint;

View file

@ -9,11 +9,11 @@
# check DHCP leases and add/remove/update DNS entries # check DHCP leases and add/remove/update DNS entries
# https://rsc.eworm.de/doc/dhcp-to-dns.md # https://rsc.eworm.de/doc/dhcp-to-dns.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global Domain; :global Domain;

View file

@ -8,11 +8,11 @@
# install firmware upgrade, and reboot # install firmware upgrade, and reboot
# https://rsc.eworm.de/doc/firmware-upgrade-reboot.md # https://rsc.eworm.de/doc/firmware-upgrade-reboot.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global LogPrint; :global LogPrint;

View file

@ -8,11 +8,11 @@
# download, import and update firewall address-lists # download, import and update firewall address-lists
# https://rsc.eworm.de/doc/fw-addr-lists.md # https://rsc.eworm.de/doc/fw-addr-lists.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global FwAddrLists; :global FwAddrLists;

View file

@ -9,11 +9,11 @@
# track gps data by sending json data to http server # track gps data by sending json data to http server
# https://rsc.eworm.de/doc/gps-track.md # https://rsc.eworm.de/doc/gps-track.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global GpsTrackUrl; :global GpsTrackUrl;

View file

@ -12,11 +12,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global EitherOr; :global EitherOr;

View file

@ -13,11 +13,11 @@
# !! This is just a template to generate the real script! # !! This is just a template to generate the real script!
# !! Pattern '%TEMPL%' is replaced, paths are filtered. # !! Pattern '%TEMPL%' is replaced, paths are filtered.
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global EitherOr; :global EitherOr;

View file

@ -12,11 +12,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global EitherOr; :global EitherOr;

View file

@ -11,11 +11,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global EitherOr; :global EitherOr;

View file

@ -12,11 +12,11 @@
# !! This is just a template to generate the real script! # !! This is just a template to generate the real script!
# !! Pattern '%TEMPL%' is replaced, paths are filtered. # !! Pattern '%TEMPL%' is replaced, paths are filtered.
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global EitherOr; :global EitherOr;

View file

@ -11,11 +11,11 @@
# #
# !! Do not edit this file, it is generated from template! # !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global EitherOr; :global EitherOr;

View file

@ -9,11 +9,11 @@
# and add/remove/update DNS entries from IPSec mode-config # and add/remove/update DNS entries from IPSec mode-config
# https://rsc.eworm.de/doc/ipsec-to-dns.md # https://rsc.eworm.de/doc/ipsec-to-dns.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global Domain; :global Domain;

View file

@ -8,11 +8,11 @@
# update firewall and dns settings on IPv6 prefix change # update firewall and dns settings on IPv6 prefix change
# https://rsc.eworm.de/doc/ipv6-update.md # https://rsc.eworm.de/doc/ipv6-update.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global LogPrint; :global LogPrint;

View file

@ -8,11 +8,11 @@
# run scripts on DHCP lease # run scripts on DHCP lease
# https://rsc.eworm.de/doc/lease-script.md # https://rsc.eworm.de/doc/lease-script.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global Grep; :global Grep;

View file

@ -8,11 +8,11 @@
# forward log messages via notification # forward log messages via notification
# https://rsc.eworm.de/doc/log-forward.md # https://rsc.eworm.de/doc/log-forward.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global Identity; :global Identity;

View file

@ -9,11 +9,11 @@
# act on multiple mode and reset button presses # act on multiple mode and reset button presses
# https://rsc.eworm.de/doc/mode-button.md # https://rsc.eworm.de/doc/mode-button.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global ModeButton; :global ModeButton;

View file

@ -9,11 +9,11 @@
# monitor and manage dns/doh with netwatch # monitor and manage dns/doh with netwatch
# https://rsc.eworm.de/doc/netwatch-dns.md # https://rsc.eworm.de/doc/netwatch-dns.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global CertificateAvailable; :global CertificateAvailable;

View file

@ -8,11 +8,11 @@
# monitor netwatch and send notifications # monitor netwatch and send notifications
# https://rsc.eworm.de/doc/netwatch-notify.md # https://rsc.eworm.de/doc/netwatch-notify.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global NetwatchNotify; :global NetwatchNotify;

View file

@ -8,11 +8,11 @@
# visualize ospf instance state via leds # visualize ospf instance state via leds
# https://rsc.eworm.de/doc/ospf-to-leds.md # https://rsc.eworm.de/doc/ospf-to-leds.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global LogPrint; :global LogPrint;

View file

@ -9,11 +9,11 @@
# download packages and reboot for installation # download packages and reboot for installation
# https://rsc.eworm.de/doc/packages-update.md # https://rsc.eworm.de/doc/packages-update.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global BackupRandomDelay; :global BackupRandomDelay;

View file

@ -8,11 +8,11 @@
# run scripts on ppp up # run scripts on ppp up
# https://rsc.eworm.de/doc/ppp-on-up.md # https://rsc.eworm.de/doc/ppp-on-up.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global LogPrint; :global LogPrint;

View file

@ -8,11 +8,11 @@
# run action on received SMS # run action on received SMS
# https://rsc.eworm.de/doc/sms-action.md # https://rsc.eworm.de/doc/sms-action.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global SmsAction; :global SmsAction;

View file

@ -9,11 +9,11 @@
# forward SMS to e-mail # forward SMS to e-mail
# https://rsc.eworm.de/doc/sms-forward.md # https://rsc.eworm.de/doc/sms-forward.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global Identity; :global Identity;

View file

@ -9,11 +9,11 @@
# use Telegram to chat with your Router and send commands # use Telegram to chat with your Router and send commands
# https://rsc.eworm.de/doc/telegram-chat.md # https://rsc.eworm.de/doc/telegram-chat.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global Identity; :global Identity;

View file

@ -9,11 +9,11 @@
# ipsec remote peer # ipsec remote peer
# https://rsc.eworm.de/doc/update-gre-address.md # https://rsc.eworm.de/doc/update-gre-address.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global CharacterReplace; :global CharacterReplace;

View file

@ -11,11 +11,11 @@
# update local address of tunnelbroker interface # update local address of tunnelbroker interface
# https://rsc.eworm.de/doc/update-tunnelbroker.md # https://rsc.eworm.de/doc/update-tunnelbroker.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global CertificateAvailable; :global CertificateAvailable;