Skip to content

Commit d0a9b97

Browse files
committed
Add update.sh script to rpi distribution
1 parent e5517c2 commit d0a9b97

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

rpi/bootstrap.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ SRC_VERSION=${1:-}
1010
function updateSystem() {
1111
sudo apt-get update
1212
sudo apt-get -y dist-upgrade
13+
sudo apt-get -y install vim
1314
}
1415

1516
function installService() {
@@ -70,6 +71,7 @@ function install_nwjs() {
7071

7172
function configurePi() {
7273
sudo cp "${SCRIPT_DIR}/config.txt" /boot/config.txt
74+
cp "${SCRIPT_DIR}/update.sh" ~/update.sh
7375
}
7476

7577
updateSystem

rpi/update.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
wget -qO- https://github.com/RoboCup-SSL/ssl-remote-control/releases/latest/download/bootstrap.tar.gz | tar xvz
3+
cd ssl-remote-control || exit 1
4+
./bootstrap.sh

0 commit comments

Comments
 (0)