mirror of
https://github.com/laspavel/mikrotik-scripts.git
synced 2025-08-31 23:10:18 +02:00
Add new scripts. 06.12.2020
This commit is contained in:
parent
4705b8aa67
commit
f261bde503
6 changed files with 41 additions and 2 deletions
8
RebootStatus.rsc
Normal file
8
RebootStatus.rsc
Normal file
|
@ -0,0 +1,8 @@
|
|||
:global RebootStatus;
|
||||
:if ($RebootStatus != true) do={
|
||||
:local DeviceName [/system identity get name];
|
||||
:local MessageText ("<b>RebootStatus $DeviceName:</b> I reboot now!");
|
||||
:local SendTelegramMessage [:parse [/system script get SendTelegram source]];
|
||||
$SendTelegramMessage MessageText=$MessageText;
|
||||
:set RebootStatus true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue