https://github.com/phistrom/auto-updates
Automatic update scripts for RouterOS
https://github.com/phistrom/auto-updates
Last synced: 4 months ago
JSON representation
Automatic update scripts for RouterOS
- Host: GitHub
- URL: https://github.com/phistrom/auto-updates
- Owner: phistrom
- Created: 2020-04-14T01:51:51.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-14T01:59:41.000Z (about 5 years ago)
- Last Synced: 2024-12-27T00:11:58.273Z (5 months ago)
- Language: Rascal
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Auto-Updates
Automatic update scripts for RouterOS 6. Set these scripts up as scheduled
tasks to check for a new update, and perform the reboots necessary to install
the packages and the new firmware.## Usage
Add the content of update-packages.rsc and/or update-firmware.rsc as new
scripts on your RouterOS device. Run a scheduled task to execute
```routeros
/system script run update-packages
```
whenever you want to check for updates. If there is a new update, it is
downloaded and installed, and your router will immediately reboot.
Create a scheduled task that runs at startup to execute
```routeros
/system script run update-firmware
```
to make the router check if its current firmware needs to be updated. If it
does need to be updated, the router will reboot. This means that when package
updates are installed, the router will reboot twice so that the packages and
the firmware match.