aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-05-05README: installing custom scripts & modulesGravatar Christian Hesse3-0/+26
(cherry picked from commit ecde864263f8572503eeaba2ad7c806847adb594)
2022-05-04global-wait: do not claim to be a backup script...Gravatar Christian Hesse1-2/+0
Probalby a copy and paste issue? (cherry picked from commit 7189a3bbe5320a80d1cfbcbf940c1a2d57c45b73)
2022-05-02update list of contributorsGravatar Christian Hesse1-1/+3
(cherry picked from commit e9575ead7ab16b1af0ce1407db7706b6e3f805b2)
2022-05-02doc/lease-script: reflect actual action of the scriptGravatar PackElend1-6/+12
(cherry picked from commit 56c5da8ed4097018300c1cf284ce7308acd7ece4)
2022-04-28global-functions: $LogPrintExit2: handle empty nameGravatar Christian Hesse1-1/+1
(cherry picked from commit f417bcbcd4ab7458f1d0b4265ccda2854ba96b4f)
2022-04-28global-functions: catch runtime error when loading modulesGravatar Christian Hesse1-1/+5
(cherry picked from commit e74bec7e5b62e54d10b1f3ba058868536b35fdc6)
2022-04-28global-functions: validate syntax of modulesGravatar Christian Hesse1-1/+6
(cherry picked from commit 7c8e230521f1a936da034dfc05197fe9434926ed)
2022-04-28global-functions: set $0 with script nameGravatar Christian Hesse1-2/+4
Now that we have some active code at the bottom... (cherry picked from commit 9bc2123ee5bd7af4a8e1ca47696a3f3379d5a028)
2022-04-28global-functions: $ScriptInstallUpdate: support giving comment...Gravatar Christian Hesse1-2/+3
... for new scripts. This allows to have extra settings from the beginning, for example: $ScriptInstallUpdate script1,script2 "base-url=https://example.com/your/custom/repository/" (cherry picked from commit a058c9e1edd8dc4895a64881ee1b495e86fe7510)
2022-04-28hotspot-to-wpa: create template if missingGravatar Christian Hesse1-2/+7
(cherry picked from commit 3f8d3acd60dab580c590a5a5e87f65cdcceb3433)
2022-04-28hotspot-to-wpa: move code for marker upGravatar Christian Hesse1-6/+7
(cherry picked from commit c132d2840843a5da40f30e5b66cb1495f5c02357)
2022-04-07capsman-download-packages: break long linesGravatar Christian Hesse1-2/+4
(cherry picked from commit 57fab952908c9ad52e73a0103d0d5e422f8cdeda)
2022-04-07capsman-download-packages: try to warn about missing logsGravatar Christian Hesse1-3/+9
(cherry picked from commit 9dbc56457b1fb25099f7d487b8284a03b47ffbe4)
2022-03-31hotspot-to-wpa: allow login page to loadGravatar Christian Hesse1-0/+3
Depending on configuration the VLAN is changed on the SSID currently serving the hotspot. So give the login page (with success status) a moment to load before kicking the device. (cherry picked from commit 0786111c5c5bd3085a52fec749fc68a1584c1a4c)
2022-03-31introduce backup-partitionchange-79-v6Gravatar Christian Hesse11-4/+91
(cherry picked from commit 71b69fc1898babf490b7dc8e7b0769022d5a2f79)
2022-03-30check-lte-firmware-upgrade: rework code and its logicGravatar Christian Hesse1-42/+59
(cherry picked from commit 2aa93a06716350d5e29fff4cfd1e7deb338ab80c)
2022-03-30check-lte-firmware-upgrade: support starting unattended firmware upgrade...Gravatar Christian Hesse1-0/+12
... from terminal if script is installed. (cherry picked from commit d952e7e6c703dcc949478de351e9bf622be9d319)
2022-03-30check-lte-firmware-upgrade: be more verboseGravatar Christian Hesse1-1/+8
(cherry picked from commit 5aecc9f1a316874f9c2935b6065347223927a299)
2022-03-25capsman-download-packages: get info from logGravatar Christian Hesse2-12/+22
Relying on older packages in local storage may be problematic due to size constraints. Let's check the log for required packages. (cherry picked from commit c4a5f8787a57836bb3e8463cdda6cab6043b0169)
2022-03-08firmware-upgrade-reboot: ignore firmware downgradeGravatar Christian Hesse1-0/+4
(cherry picked from commit 122f90b6930ba499f917887b6e25adae3109a513)
2022-03-08accesslist-duplicates: use global $ReadGravatar Christian Hesse3-3/+3
(cherry picked from commit cbb2f067e64d09d3d1443d9c2b17266fa56b2e99)
2022-03-08global-functions: (re-)introduce global $ReadGravatar Christian Hesse1-0/+6
... to interactively read input from user on terminal. (cherry picked from commit 07cc38e973a6037649083494332fbae1946b48b4)
2022-03-07hotspot-to-wpa: support ignoring specific hotspotGravatar Christian Hesse2-0/+5
(cherry picked from commit c1fa0f3579573b75cadba585c1aeb7e68313645c)
2022-03-07hotspot-to-wpa: initialize variables earlierGravatar Christian Hesse1-5/+4
(cherry picked from commit df0d826999f198c650d50585c72d92ef7eb6a4c3)
2022-03-04global-functions: update upgrade instructionGravatar Christian Hesse1-2/+1
The branch 'routeros-v7' will not exist forever... And the link is gone already.
2022-03-01global-functions: $FlushEmailQueue: delay if "in-progress"...Gravatar Christian Hesse1-0/+1
Something else is sending a mail... Let's wait and hope the status is not confused. (cherry picked from commit c9b6cee83f686a532183016712c9441e77558917)
2022-03-01doc/mod/notification-matrix: add verbose steps for setupGravatar Michael Gisbers4-2/+57
Modified-by: Christian Hesse <mail@eworm.de> (cherry picked from commit c35485454c60ae489fd5b9fb7d0afde566cae645)
2022-02-24global-functions: $DeviceInfo: firmware only if upgrade pendingGravatar Christian Hesse1-1/+2
(cherry picked from commit a00e912bb5c556eaead42a4213c545a34c3959d9)
2022-02-23doc/backup-cloud: break long lineGravatar Christian Hesse1-1/+2
(cherry picked from commit c72702cc51a732242d96904d04dad41573439378)
2022-02-23doc/backup-upload: warn about possible issueGravatar Christian Hesse1-0/+5
(cherry picked from commit a754932211d3cc87563a483302350e65a03ceba1)
2022-02-23doc/backup-cloud: warn about possible issueGravatar Christian Hesse1-0/+5
(cherry picked from commit a78b2bfcdef7e7cc84fd777e7fe0f7aa4cb5fe0c)
2022-02-23INITIAL-COMMANDS: give another delay before fetchGravatar Christian Hesse1-0/+1
(cherry picked from commit 0ab99fcdbb9b9210b3ebdfeb59b8185b4d760567)
2022-02-22doc/log-forward: remove extra characterGravatar Christian Hesse1-1/+1
Looks like copy'n'paste error... (cherry picked from commit c872c18d76553647ebeab613df4edc8cabef84f2)
2022-02-22doc/mod/scriptrunonce: document optional configurationGravatar Christian Hesse1-1/+14
(cherry picked from commit d50f6ffb79c448b8ffef246a0e7ef90d51c8dadb)
2022-02-22update list of contributorsGravatar Christian Hesse1-0/+1
(cherry picked from commit 8e401bf498065814442c4c39e2fcc949f73bfc3b)
2022-02-21doc/mod: notify about new documentationchange-78-v6Gravatar Christian Hesse4-3/+4
2022-02-21add doc/mod/scriptrunonceGravatar Christian Hesse4-0/+39
2022-02-21add doc/mod/ipcalcGravatar Christian Hesse4-0/+54
(cherry picked from commit e9953c361267f10fd15d3280ccd985062c1dde28)
2022-02-21add doc/mod/inspectvarGravatar Christian Hesse3-0/+34
(cherry picked from commit 002315035c25b8569d2b6f232a6f8dfba37cf07b)
2022-02-21add doc/mod/notification-matrixGravatar Christian Hesse14-11/+73
(cherry picked from commit 07fc5c898ad36debad96d06e3a65fa06ccdadde8)
2022-02-21add doc/mod/notification-telegramGravatar Christian Hesse14-12/+81
(cherry picked from commit e6a686187c3d3c981b7ab86b4cbce46fc6466da4)
2022-02-21Makefile: match all *.md files, incl. doc/mod/Gravatar Christian Hesse1-1/+1
(cherry picked from commit 886cd67edba86906fea4c0d753b13b7c68c5e78b)
2022-02-21doc/check-routeros-update: mention e-mail, matrix and telegramGravatar Christian Hesse1-0/+2
(cherry picked from commit 6f27553f15787540a7b4bc353d89aa4d3d268830)
2022-02-12doc/mod: put hints into block quote, update info icon, fix linksGravatar Christian Hesse2-6/+6
(cherry picked from commit fd36241be649989e7b26348db31a3d3461888a1c)
2022-02-12doc: use another info icon: 🛈 -> ℹī¸Gravatar Christian Hesse34-34/+34
(cherry picked from commit cd2a7dcf8ce3324179768b48a785f24f0d53aa19)
2022-02-11doc/early-errors: no site structure, hint onlyGravatar Christian Hesse1-10/+1
(cherry picked from commit f0b0951968bc865877c1f5b6607935490ba68033)
2022-02-11doc: put hints into block quoteGravatar Christian Hesse34-71/+70
(cherry picked from commit 9e91ed56aaed77c6776ef95ebed791c40d7f21d2)
2022-02-11INITIAL-COMMANDS: put hint into block quoteGravatar Christian Hesse1-2/+3
(cherry picked from commit 4b16dc06c4b1bcd7c7ec5e3849736765799e32e6)
2022-02-11README: put hint into block quoteGravatar Christian Hesse1-2/+2
(cherry picked from commit a5e421faebe8ac82c1ade73f8c1ea26ef728030b)
2022-02-11firmware-upgrade-reboot: add a delay before rebootGravatar Christian Hesse1-0/+5
Looks like my timing was too good... Upgrade and reboot happened too fast, so device reported: system;error;critical router was rebooted without proper shutdown Let's try something smart... Delay the reboot by the amount of uptime, and hope all devices - slow and powerful - are happy. (cherry picked from commit 3f8e835233d8d9ac6f31572a1a115eb73c46ff92)
2022-02-10global-functions: $MkDir: do not act without directoryGravatar Christian Hesse1-0/+4
(cherry picked from commit 7b48b25c271111570d27708ceac437e24f05e6fe)
2022-02-10update list of contributorsGravatar Christian Hesse1-0/+1
Thanks a lot and please enjoy firmware-upgrade-reboot! 😊 (cherry picked from commit a50d9d30e3fbf6b4236f99cb40df656206492f8f)
2022-02-10introduce firmware-upgrade-rebootchange-77-v6Gravatar Christian Hesse9-3/+75
(cherry picked from commit 3c358980cb416c61419a0aaa384ab1db1dab8d29)
2022-02-10netwatch-dns: flush cache on configuration changeGravatar Christian Hesse1-0/+4
(cherry picked from commit a47f5723cc4cdd287d36aaffd7619c17494f9345)
2022-02-10netwatch-notify: nest conditionsGravatar Christian Hesse1-15/+17
The logic here was right, but RouterOS runs the checks simultaneously. This caused delays even if no resolving was needed. Nesting the checks fixes this. (cherry picked from commit 0b46c508dc8f76955dd528900882b54c07b62ef3)
2022-02-10netwatch-notify: allow to suppress notification on host downchange-76-v6Gravatar Christian Hesse6-10/+23
(cherry picked from commit c6e581d4f90c9bea0adf405685aa634e264d1f3b)
2022-02-10doc/netwatch-notify: add sectionsGravatar Christian Hesse1-0/+8
(cherry picked from commit 42c203291a7db814be00f40caddb6980632358fa)
2022-02-10doc/packages-update: link backup-cloudGravatar Christian Hesse1-0/+1
(cherry picked from commit dd19aea3628471ce54fefa30913879322f20e63a)
2022-01-30packages-update: use correct syntaxGravatar Christian Hesse1-3/+3
(cherry picked from commit 27a81bcbca52d513c5b9c10578474a1863bd08af)
2022-01-30check-routeros-update: use correct syntaxGravatar Christian Hesse1-1/+1
(cherry picked from commit dfe995be270f1ee9621454e7feada84c33168db0)
2022-01-20global-functions: $ScriptInstallUpdate: quote names in log outputGravatar Christian Hesse1-9/+9
(cherry picked from commit 5e32105e7ea4bd357f9826d1ca24ca6e2c455bdc)
2022-01-20global-functions: $ScriptInstallUpdate: give final url in debug outputGravatar Christian Hesse1-7/+6
(cherry picked from commit b4a5d824a268fae9f06ccf61fff4f67c760773ed)
2022-01-17global-functions: $DownloadPackage: handle special case with nameGravatar Christian Hesse1-0/+4
For RouterOS 6.x bundled package version and architecture are swapped. Closes: #21 (cherry picked from commit 1e6931c8e34d5035cb07baa98b57eccbcd4278ab)
2022-01-17global-functions: $DownloadPackage: give url in debug outputGravatar Christian Hesse1-3/+3
(cherry picked from commit 51cd11c80380eac0bfde4649cb30747c198881b7)
2022-01-14global: send notification on 'routeros-v6'change-75-v6Gravatar Christian Hesse4-3/+4
This is mainly to keep the version in 'routeros-v6' and 'main' in sync...
2022-01-14global-config: add $ScriptUpdatesUrlSuffix in overlay for RouterOS v6Gravatar Christian Hesse1-0/+3
2022-01-14README: install correct global-config-overlay for RouterOS v6branch-routeros-v6Gravatar Christian Hesse3-3/+15
2022-01-14INITIAL-COMMANDS: silence the certificate downloadGravatar Christian Hesse1-1/+1
2022-01-07hotspot-to-wpa: support settings from templatechange-74Gravatar Christian Hesse6-8/+56
2022-01-06Merge branch 'backup' into nextGravatar Christian Hesse21-433/+444
2022-01-06Migrate configuration and send notification on renameschange-73Gravatar Christian Hesse4-3/+5
2022-01-06rename script upload-backup -> backup-uploadGravatar Christian Hesse9-181/+184
2022-01-06rename script email-backup -> backup-emailGravatar Christian Hesse9-139/+142
2022-01-06rename script cloud-backup -> backup-cloudGravatar Christian Hesse9-116/+119
2022-01-03introduce netwatch-dnschange-72Gravatar Christian Hesse8-3/+166
2022-01-03netwatch-notify: give netwatch some time to settleGravatar Christian Hesse1-0/+4
2022-01-03netwatch-notify: initialize after lockGravatar Christian Hesse1-2/+2
2022-01-03netwatch-notify: better match notify-entriesGravatar Christian Hesse1-77/+80
2022-01-03add AVIF logoGravatar Christian Hesse1-0/+0
2022-01-03doc/accesslist-duplicates: convert screenshot to AVIFGravatar Christian Hesse3-1/+1
2022-01-03README: convert screenshots to AVIFGravatar Christian Hesse23-11/+11
2022-01-03README: convert Telegram group qr code to AVIFGravatar Christian Hesse3-1/+1
2022-01-01update copyright for 2022Gravatar Christian Hesse62-62/+62
2021-12-30README: add Telegram icon in qr codeGravatar Christian Hesse1-0/+0
2021-12-30README: add a qr code to join Telegram groupGravatar Christian Hesse2-0/+3
2021-12-20global-functions: $RequiredRouterOS: fix warningGravatar Christian Hesse1-5/+4
Passing a boolean does not work... Handle as string.
2021-12-17log-forward: fix forwarding first messageGravatar Christian Hesse1-1/+1
Pulling the power cable results in log message on next boot: dec/16 18:28:28 system,error,critical router rebooted without proper shutdown, probably power outage This was not forwarded as it had the numeric id 0, which is not greater than the zero we initialized with. Now initialized with -1 when no log has been forwarded to fix this.
2021-12-16INITIAL-COMMANDS: adopt changes, no need to run global-config-overlayGravatar Christian Hesse1-2/+2
2021-12-16doc/ssh-keys-import: number keys, do not overwrite on same commentGravatar Christian Hesse1-1/+1
2021-12-16doc/ssh-keys-import: handle RSA keys onlyGravatar Christian Hesse1-1/+1
Sadly RouterOS does not (yet) support ed25519 keys...
2021-12-16update list of contributorsGravatar Christian Hesse1-0/+1
2021-12-15update list of contributorsGravatar Christian Hesse1-0/+1
2021-12-14global-functions: $DownloadPackage: make directory firstGravatar Christian Hesse1-0/+6
The fetch command creates the directory itself, however using $MkDir gives better error message when creating directory fails.
2021-12-14global-functions: $MkDir: log errorGravatar Christian Hesse1-1/+3
2021-12-14global-functions: $NotificationFunctions->"email": do not declare unused â†ĩGravatar Christian Hesse1-1/+0
function
2021-12-13global-functions: $DeviceInfo: show license level if availableGravatar Christian Hesse1-0/+3
This now shows license level for CHR. The property is named different for Routerboards. As these have the license bundled to hardware anyway we do not show it there.
2021-12-13README: changes for RouterOS v6change-71Gravatar Christian Hesse5-3/+16
2021-12-10global-functions: $ScriptLock: simplify cleanup codeGravatar Christian Hesse1-5/+2
2021-12-09global-functions: $ScriptLock: remove ticket in a loopGravatar Christian Hesse1-1/+2
This was not required with RouterOS v6, but for any reason removing a ticket may fail with RouterOS v7 in very rare cases. So remove in a loop...
2021-12-09global-functions: $ScriptLock: cleanup in dedicated functionGravatar Christian Hesse1-4/+13