Initial Commit. First Release

This commit is contained in:
Grzegorz Budny 2019-10-14 20:53:37 +02:00
parent 69ab2f58ca
commit a9d2fcc235
4 changed files with 91 additions and 2 deletions

View file

@ -0,0 +1,15 @@
# RouterOS Script
# Copyright (c) Grzegorz Budny
# Renews RouterOS License
:global RenewLicense do={
:local currentLicenseLevel [/system license get value-name=level];
:if ($currentLicenseLevel = "free") do={
/system license renew account=$account password=$password level=$level;
:log info ("Renewing license for ".$account." to ".$level);
}
}