mirror of
https://github.com/pothi/mikrotik-scripts.git
synced 2025-12-08 19:19:30 +00:00
Add new script to check ROS update; change naming scheme
This commit is contained in:
parent
20a7a7b7bf
commit
591ed2d662
3 changed files with 43 additions and 3 deletions
5
scripts/auto-update-ros.rsc
Normal file
5
scripts/auto-update-ros.rsc
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Ref: https://wiki.mikrotik.com/wiki/Manual:Upgrading_RouterOS#RouterOS_auto-upgrade
|
||||
/system package update
|
||||
check-for-updates once
|
||||
:delay 3s;
|
||||
:if ( [get status] = "New version is available") do={ install }
|
||||
Loading…
Add table
Add a link
Reference in a new issue