global-functions: $LogPrintExit: notify about colorful output

This commit is contained in:
Christian Hesse 2021-01-22 10:08:15 +01:00
parent b780b40baf
commit eaea89112a
4 changed files with 4 additions and 3 deletions

View file

@ -8,7 +8,7 @@
# Make sure all configuration properties are up to date and this # Make sure all configuration properties are up to date and this
# value is in sync with value in script 'global-functions'! # value is in sync with value in script 'global-functions'!
:global GlobalConfigVersion 41; :global GlobalConfigVersion 42;
# This is used for DNS and backup file. # This is used for DNS and backup file.
:global Domain "example.com"; :global Domain "example.com";

View file

@ -9,7 +9,7 @@
# Make sure all configuration properties are up to date and this # Make sure all configuration properties are up to date and this
# value is in sync with value in script 'global-functions'! # value is in sync with value in script 'global-functions'!
# Comment or remove to disable change notifications. # Comment or remove to disable change notifications.
:global GlobalConfigVersion 41; :global GlobalConfigVersion 42;
# Copy configuration from global-config here and modify it. # Copy configuration from global-config here and modify it.

View file

@ -45,6 +45,7 @@
39="Added support for interface specific address list entries in 'ipv6-update'."; 39="Added support for interface specific address list entries in 'ipv6-update'.";
40="Made the certificate renewal time configurable."; 40="Made the certificate renewal time configurable.";
41="Implemented migration mechanism for script updates."; 41="Implemented migration mechanism for script updates.";
42="Made severity in terminal output colorful, with opt-out.";
}; };
# Migration steps to be applied on script updates # Migration steps to be applied on script updates

View file

@ -8,7 +8,7 @@
# https://git.eworm.de/cgit/routeros-scripts/about/ # https://git.eworm.de/cgit/routeros-scripts/about/
# expected configuration version # expected configuration version
:global ExpectedConfigVersion 41; :global ExpectedConfigVersion 42;
# global variables not to be changed by user # global variables not to be changed by user
:global GlobalFunctionsReady false; :global GlobalFunctionsReady false;