1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

global-{config,functions}: move variables, make independent

This commit is contained in:
Christian Hesse
2019-01-03 16:05:54 +01:00
parent 6e03a3b935
commit 7d06a7e8c2
4 changed files with 12 additions and 9 deletions

View File

@@ -5,7 +5,12 @@
# global functions
# expected configuration version
:global ExpectedConfigVersion 0;
:global ExpectedConfigVersion 1;
# global variables not to be changed by user
:global "sent-routeros-update-notification" "-";
:global "sent-lte-firmware-upgrade-notification" "-";
:global "identity" [ / system identity get name ];
# read input from user
:global Read do={