Christian Hesse
4bfb591fa0
bump required RouterOS version for all scripts
2025-02-07 17:44:41 +01:00
Christian Hesse
49d9fb1ffd
global-functions: $RmDir: add debug output
2025-02-07 17:44:41 +01:00
Christian Hesse
7233dea5bb
global-functions: $RmFile: add debug output
2025-02-07 17:44:41 +01:00
Christian Hesse
727495d9c4
global-functions: introduce $RmDir
2025-02-07 17:44:41 +01:00
Christian Hesse
4542c2b19e
global-functions: introduce $RmFile
2025-02-07 17:44:41 +01:00
Christian Hesse
0fb5fd0323
global-functions: $MkDir: create directory directly...
...
... instead of file inside directory. This requires RouterOS 7.15, so
bumping requirement.
2025-02-07 17:44:32 +01:00
Christian Hesse
dbdc3e4718
packages-update: ignore available packages
...
This was introduced with RouterOS 7.18beta2 to list and install available
packages. We do not want to install all of them. 😝
2025-02-07 17:16:37 +01:00
Christian Hesse
dafd95d44a
packages-update: disable random delay for backup
2025-02-06 21:26:39 +01:00
Christian Hesse
7b660d0952
packages-update: move configuration variables up
2025-02-06 21:24:20 +01:00
Christian Hesse
23d38927bc
check-health: split off plugins...
...
... from 'check-health', so the script works on all devices to monitor
CPU and RAM. The supported plugins for sensors in hardware are installed
automatically.
2025-02-05 14:39:59 +01:00
Christian Hesse
84ba3a463a
doc/netwatch-dns: warn on different certificate...
...
... based on indicated server name.
Currently this is true for 8.8.8.8 (GTS Root R1) and dns.google (GTS Root R4).
2025-02-05 10:00:26 +01:00
Christian Hesse
27c92b4382
doc/netwatch-dns: switch exmample to cloudflare-dns.com
2025-02-05 10:00:26 +01:00
Christian Hesse
6501c98c82
certs: dns.google switched to 'GTS Root R4'
...
Note that 8.8.8.8 is still at 'GTS Root R1'...
2025-02-05 10:00:26 +01:00
Christian Hesse
bfe5f20920
check-health: remove trailing whitespaces
2025-02-04 22:20:18 +01:00
Christian Hesse
3024b246b5
check-health: remove extra line break
2025-02-04 12:03:24 +01:00
Christian Hesse
61f3c26199
doc/check-health: highligh note on bad initial state
2025-02-03 14:36:25 +01:00
Christian Hesse
3ad7ccd3d6
check-certificates: check to characters for star-dot
2025-02-03 10:05:35 +01:00
Christian Hesse
eabe3f6e95
check-certificates: pass real and modified name into function
2025-01-31 21:40:51 +01:00
Christian Hesse
75e5ddec52
check-certificates: do not rename the wrong certificate
2025-01-31 13:09:22 +01:00
Christian Hesse
44d0c852f1
check-certificates: try with "star." for renewal with wildcards
2025-01-31 12:14:05 +01:00
Christian Hesse
0eb91b6bfa
update list of contributors
2025-01-30 22:50:07 +01:00
Christian Hesse
87fb70534f
certs: support checking ipv4 or ipv6 only
...
Just run for IPv4 only:
make NOIPV6=1
... or for IPv6 only:
make NOIPV4=1
2025-01-30 22:50:07 +01:00
Christian Hesse
fcb5347e33
certs: split checks for dual, ipv4 & ipv6...
...
... and check both if available.
2025-01-30 22:50:07 +01:00
Miquel Bonastre
aa294b4c67
certs: fix curl false positives...
...
... when default capath contains system certs
If curl has a default capath (debian 12 capath=/etc/ssl/certs)
it will add those certs and return ok to any valid https url,
defeating the intended use of the cacert option in the Makefile
that validates sites and certs.
To avoid that, adding option "--capath /dev/null" overrides
the default value, if any.
Closes: https://github.com/eworm-de/routeros-scripts/pull/88
2025-01-30 22:49:02 +01:00
Christian Hesse
414c83ef81
global-functions: $ScriptInstallUpdate: resolve more nested conditions
...
Just like the previous one.
2025-01-30 09:00:02 +01:00
Christian Hesse
8b19e74736
global-functions: $ScriptInstallUpdate: resolve nested conditions...
...
... and check one after another in a do-block. This uses `:error` as
poor man's continue. 🤪
2025-01-30 09:00:02 +01:00
Christian Hesse
3c8ec5169f
Merge branch 'device-mode' into next
2025-01-30 09:00:02 +01:00
Christian Hesse
d921af9a6b
update-tunnelbroker: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
9421566352
unattended-lte-firmware-upgrade: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
ef48b8d39e
telegram-chat: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
8dc1e1ea6b
packages-update: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
3ef4588601
netwatch-dns: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
59c9d0ce4b
mod/scriptrunonce: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
378a8978df
mod/notification-telegram: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
9f2f54b479
mod/notification-ntfy: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
9a12934202
mod/notification-matrix: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
370e81321f
mod/notification-email: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
56e74268b0
mode-button: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
5f1cbe6de5
ipsec-to-dns: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
1ad4d05be8
hotspot-to-wpa-cleanup: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
e29ef31eb8
hotspot-to-wpa: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
bc0227c49b
gps-track: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
43f6c0b975
check-routeros-update: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
95b675f67e
check-certificates: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
d81a786e82
backup-upload: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
aebc4e37da
backup-partition: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
b177e298d7
global-functions: $ScriptInstallUpdate: support checking for device-mode features
2025-01-30 09:00:02 +01:00
Christian Hesse
106a9bddef
README: give hint on device mode
2025-01-29 22:20:41 +01:00
Christian Hesse
546e3cdab6
Merge branch 'rsc-eworm-de' into next
2025-01-29 22:20:14 +01:00
Christian Hesse
c04ee5aadf
update-tunnelbroker: use short url rsc.eworm.de
2025-01-29 14:14:27 +01:00