aboutsummaryrefslogtreecommitdiffstats
path: root/news-and-changes.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-01-29 17:55:30 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-30 00:02:08 +0100
commit2a4e2e0c075b5dfee095683a65755d8b384ecb72 (patch)
treecaed510df9da564ef6f1ffa01c221e3c25f544d1 /news-and-changes.rsc
parent62f33d7b19792fded8366d57ff8756c5952da990 (diff)
send a warning on storage sizechange-118
Diffstat (limited to 'news-and-changes.rsc')
-rw-r--r--news-and-changes.rsc6
1 files changed, 6 insertions, 0 deletions
diff --git a/news-and-changes.rsc b/news-and-changes.rsc
index 5186420..b6f5169 100644
--- a/news-and-changes.rsc
+++ b/news-and-changes.rsc
@@ -8,6 +8,8 @@
:global RequiredRouterOS;
:global SymbolForNotification;
+:local Resource [ /system/resource/get ];
+
# News, changes and migration up to change 95:
# https://git.eworm.de/cgit/routeros-scripts/plain/global-config.changes?h=change-95
@@ -37,6 +39,10 @@
("Following the donation hint " . [ $SymbolForNotification "arrow-down" "below" ] . "to keep me motivated is much appreciated. Thanks!") \
("Looks like you did donate already. " . [ $SymbolForNotification "heart" "<3" ] . "Much appreciated, thanks!") ]);
117="Enhanced 'packages-update' to support deferred reboot on automatically installed updates.";
+ 118=("RouterOS packages increase in size with each release. This becomes a problem for devices with 16MB storage and below. " . \
+ [ $IfThenElse ($Resource->"total-hdd-space" < 16000000) ("Your " . $Resource->"board-name" . " is specifically affected! ") \
+ [ $IfThenElse ($Resource->"free-hdd-space" > 4000000) ("(Your " . $Resource->"board-name" . " does not suffer this issue.) ") ] ] . \
+ "Huge configuration and lots of scripts give an extra risk. Take care!");
};
# Migration steps to be applied on script updates