You should install VirtualBox and Vagrant before you start.
You should create a Vagrantfile
in an empty directory with the following content:
if &compatible | |
set nocompatible " Be iMproved | |
endif | |
let mapleader="," | |
" Required: | |
filetype plugin indent on | |
" Only set syntax highlighting once! | |
if !exists("g:syntax_on") |
You should install VirtualBox and Vagrant before you start.
You should create a Vagrantfile
in an empty directory with the following content:
2018.10.10: reinstated 1809 [RS5]! using native xml patching for products.xml; fixed syntax bug with exit/b
2018.10.12: added data loss warning for RS5
2018.11.13: RS5 is officially back! + greatly improved choices dialog - feel free to use the small snippet in your own scripts
2019.05.22: 1903 [19H1]
2019.07.11: 1903 __release_svc_refresh__ and enable DynamicUpdate by default to grab latest CU
2019.09.29: UPDATED 19H1 build 18362.356 ; RS5 build 17763.379 and show build number
#!/bin/ash | |
source /etc/openwrt_release | |
echo "$DISTRIB_ID $DISTRIB_RELEASE" | |
rm -f /tmp/releases.html | |
wget -q https://downloads.openwrt.org/releases/ -O /tmp/releases.html | |
LATEST_RELEASE=`grep -o 'href="[0-9.]*/"' /tmp/releases.html | tail -1 | cut -d'"' -f2 | cut -d'/' -f1` | |
rm -f /tmp/releases.html |