mirror of
https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update.git
synced 2025-12-30 14:09:31 +00:00
Readme file and update channel parameter fixed.
This commit is contained in:
parent
207090873a
commit
a7734dfcf9
2 changed files with 9 additions and 7 deletions
|
|
@ -11,11 +11,11 @@
|
|||
## If true, passwords will be included in exported config
|
||||
:local sensetiveDataInConfig false;
|
||||
|
||||
## Update channel. Possible values: current, bugfix
|
||||
## Update channel. Possible values: stable, long-term
|
||||
:local updateChannel "stable";
|
||||
|
||||
## Install only patch versions of firmware updates.
|
||||
## Means that new update will be installed only if major and minor version numbers are same as currently installed firmware.
|
||||
## Means that new update will be installed only if major and minor version numbers are the same as currently installed firmware.
|
||||
## Example: v6.43.6 => major.minor.PATCH
|
||||
:local onlyPatchUpdates false;
|
||||
##########
|
||||
|
|
@ -110,6 +110,7 @@
|
|||
}
|
||||
}
|
||||
log info ("Checking for new firmware version. Current version is: $osVerCurrent");
|
||||
/system package update set channel=$updateChannel;
|
||||
/system package update check-for-updates;
|
||||
:delay 5s;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue