This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # WINBOX_VERSION specifies the latest version of WinBox at the time of writing. | |
| WINBOX_VERSION="4.0beta44" | |
| # WINBOX_APPLICATION_NAME is the formatted string that we will use to refer to WinBox and associated directories | |
| WINBOX_APPLICATION_NAME="WinBox" | |
| # DOWNLOAD_URL is the path to the zip file containing the WinBox application | |
| DOWNLOAD_URL="download.mikrotik.com/routeros/winbox/${WINBOX_VERSION}/WinBox_Linux.zip" | |
| # VERSIONED_APPLICATION_NAME is the string that we use to refer to the downloaded zip file/application | |
| VERSIONED_APPLICATION_NAME="${WINBOX_APPLICATION_NAME}_${WINBOX_VERSION}" |