Skip to content

Commit a7c11d1

Browse files
committed
Add update.sh script to rpi distribution
1 parent e6a01df commit a7c11d1

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
@@ -9,6 +9,7 @@ SRC_VERSION=${1-}
99
function updateSystem() {
1010
sudo apt-get update
1111
sudo apt-get -y dist-upgrade
12+
sudo apt-get -y install vim
1213
}
1314

1415
function installService() {
@@ -62,6 +63,7 @@ function install_nwjs() {
6263

6364
function configurePi() {
6465
sudo cp "${SCRIPT_DIR}/config.txt" /boot/config.txt
66+
cp "${SCRIPT_DIR}/update.sh" ~/update.sh
6567
}
6668

6769
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-status-board/releases/latest/download/bootstrap.tar.gz | tar xvz
3+
cd ssl-status-board || exit 1
4+
./bootstrap.sh

0 commit comments

Comments
 (0)