Compare commits
No commits in common. "fca1f7a8e519c2f0fbc2d8184182dd28370c8ebd" and "a14b6681a6fe65cac2375fed3f9a1a1306e8d894" have entirely different histories.
fca1f7a8e5
...
a14b6681a6
@ -1,13 +0,0 @@
|
|||||||
## Check for update
|
|
||||||
/system package update
|
|
||||||
set channel=stable
|
|
||||||
check-for-updates
|
|
||||||
## Wait on slow connections
|
|
||||||
:delay 5s;
|
|
||||||
## Important note: "installed-version" was "current-version" on older Router OSes
|
|
||||||
:if ([get installed-version] != [get latest-version]) do={
|
|
||||||
## New version of RouterOS available, let's upgrade
|
|
||||||
/tool fetch url=("https://api.telegram.org/".$botID."/sendMessage\?chat_id=-***************&text=New version $[/system package update get latest-version] of RouterOS available, let's upgrade") src-address=***.***.***.* keep-result=no;
|
|
||||||
} else={
|
|
||||||
:log info ("No RouterOS upgrade found, checking this later...")
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user