Commit graph

3098 commits

Author SHA1 Message Date
Christian Hesse
8c984b4cdf netwatch-notify: :do ... on-error=... -> :onerror ... do=... 2025-05-08 10:36:20 +02:00
Christian Hesse
bc0204ddb3 netwatch-dns: :do ... on-error=... -> :onerror ... do=... 2025-05-08 10:36:20 +02:00
Christian Hesse
7f708473cf mod/ssh-keys-import: fix error condition 2025-05-08 10:36:20 +02:00
Christian Hesse
5a7a200898 mod/ssh-keys-import: :do ... on-error=... -> :onerror ... do=... 2025-05-08 10:36:20 +02:00
Christian Hesse
ef6fcb0c78 mod/scriptrunonce: :do ... on-error=... -> :onerror ... do=... 2025-05-08 10:36:20 +02:00
Christian Hesse
2a77a50340 mode-button: :do ... on-error=... -> :onerror ... do=... 2025-05-08 10:36:20 +02:00
Christian Hesse
6b20f0e42f mod/notification-gotify: :do ... on-error=... -> :onerror ... do=... 2025-05-08 10:36:20 +02:00
Christian Hesse
9930b3a040 mod/notification-matrix: :do ... on-error=... -> :onerror ... do=... 2025-05-08 10:36:20 +02:00
Christian Hesse
efe17a7e49 mod/notification-ntfy: :do ... on-error=... -> :onerror ... do=... 2025-05-08 10:36:20 +02:00
Christian Hesse
df58612ea4 mod/notification-telegram: :do ... on-error=... -> :onerror ... do=... 2025-05-08 10:31:34 +02:00
Christian Hesse
b6e3ae24ea lease-script: :do ... on-error=... -> :onerror ... do=... 2025-05-08 10:31:34 +02:00
Christian Hesse
9bf50d6853 gps-track: :do ... on-error=... -> :onerror ... do=... 2025-05-08 10:31:34 +02:00
Christian Hesse
2ef0827561 global-functions: :do ... on-error=... -> :onerror ... do=... 2025-05-08 10:31:34 +02:00
Christian Hesse
54bf9b0fe0 global-functions: $ValidateSyntax: add debug output 2025-05-08 10:31:34 +02:00
Christian Hesse
70fb34775f global-functions: $ValidateSyntax: :do ... on-error=... -> :onerror ... do=... 2025-05-08 10:31:34 +02:00
Christian Hesse
d6767f092e global-functions: $ScriptInstallUpdate: :do ... on-error=... -> :onerror ... do=... 2025-05-08 10:31:34 +02:00
Christian Hesse
1940564016 global-functions: $RmFile: :do ... on-error=... -> :onerror ... do=... 2025-05-08 09:51:08 +02:00
Christian Hesse
9e2dbcd94f global-functions: $RmDir: :do ... on-error=... -> :onerror ... do=... 2025-05-08 09:51:08 +02:00
Christian Hesse
4084d75f31 global-functions: $MkDir: :do ... on-error=... -> :onerror ... do=... 2025-05-08 09:51:08 +02:00
Christian Hesse
9ef6cb10c2 global-functions: $GetMacVendor: :do ... on-error=... -> :onerror ... do=... 2025-05-08 09:51:08 +02:00
Christian Hesse
e0d1ebcc65 global-functions: $FetchHuge: :do ... on-error=... -> :onerror ... do=... 2025-05-08 09:51:08 +02:00
Christian Hesse
8787b5ddb6 global-functions: $DownloadPackage: :do ... on-error=... -> :onerror ... do=... 2025-05-08 09:51:08 +02:00
Christian Hesse
84474d8910 global-config: :do ... on-error=... -> :onerror ... do=... 2025-05-08 09:51:08 +02:00
Christian Hesse
98bb07242e fw-addr-lists: adopt changes in wording 2025-05-08 09:51:08 +02:00
Christian Hesse
7b463dde8a fw-addr-lists: :do ... on-error=... -> :onerror ... do=... 2025-05-08 09:51:08 +02:00
Christian Hesse
28e1bffea2 check-routeros-update: :do ... on-error=... -> :onerror ... do=... 2025-05-08 09:51:08 +02:00
Christian Hesse
78800753bb check-lte-firmware-upgrade: :do ... on-error=... -> :onerror ... do=... 2025-05-08 09:51:08 +02:00
Christian Hesse
79db43d4b1 check-health: :do ... on-error=... -> :onerror ... do=... 2025-05-08 09:51:08 +02:00
Christian Hesse
1ec25acd48 backup-upload: :do ... on-error=... -> :onerror ... do=... 2025-05-08 09:51:08 +02:00
Christian Hesse
ebe77be142 backup-partition: :do ... on-error=... -> :onerror ... do=... 2025-05-08 09:51:08 +02:00
Christian Hesse
5d7c94cdaf sms-forward: add error handling on message removal 2025-05-08 09:51:08 +02:00
Christian Hesse
a11421860b sms-forward: delay after removal...
... to give the SIM card some time to succeed. Removing several messages
one after another fails without this.
2025-05-08 09:51:08 +02:00
Christian Hesse
4d3703de38 global-functions: $ScriptInstallUpdate: set config and functions not ready...
... before reload. This should fix some corner cases where scripts ran
with broken configuration or functions.

Also do reload both - configuration and functions - to simplify the
function.
2025-05-08 09:51:08 +02:00
Christian Hesse
c25f14eaa4 global-config: add another visual hint 2025-05-08 09:51:08 +02:00
Christian Hesse
006288108c global-config: add another comment with visual hint 2025-05-08 09:51:08 +02:00
Christian Hesse
39295b4954 Merge branch 'global-config-ready' into next 2025-05-08 09:51:08 +02:00
Christian Hesse
0f58cecc0f global-wait: check for global config to be ready 2025-05-08 09:51:08 +02:00
Christian Hesse
f2dbb9eff3 update-tunnelbroker: check for global config to be ready 2025-05-08 09:51:08 +02:00
Christian Hesse
b4d80d3b17 update-gre-address: check for global config to be ready 2025-05-08 09:51:08 +02:00
Christian Hesse
9b5419b939 telegram-chat: check for global config to be ready 2025-05-08 09:51:08 +02:00
Christian Hesse
15248ffd39 sms-forward: check for global config to be ready 2025-05-08 09:51:08 +02:00
Christian Hesse
6270ac45d8 sms-action: check for global config to be ready 2025-05-08 09:51:08 +02:00
Christian Hesse
194698f53f ppp-on-up: check for global config to be ready 2025-05-08 09:51:08 +02:00
Christian Hesse
38ec392a5f packages-update: check for global config to be ready 2025-05-08 09:51:08 +02:00
Christian Hesse
aaecd1b457 ospf-to-leds: check for global config to be ready 2025-05-08 09:51:08 +02:00
Christian Hesse
5b40380cd2 netwatch-notify: check for global config to be ready 2025-05-08 09:51:08 +02:00
Christian Hesse
2d39dbdf7c netwatch-dns: check for global config to be ready 2025-05-08 09:51:08 +02:00
Christian Hesse
bc1c238158 mode-button: check for global config to be ready 2025-05-08 09:51:08 +02:00
Christian Hesse
160effd91b log-forward: check for global config to be ready 2025-05-08 09:51:08 +02:00
Christian Hesse
10bd9a1cb5 lease-script: check for global config to be ready 2025-05-08 09:51:08 +02:00