Skip to content

Commit 44e4c30

Browse files
committed
Update bootstrap script
1 parent 213e844 commit 44e4c30

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

rpi/Readme.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
# Run remote control on a Raspberry Pi
22

33
This folder contains scripts to configure a Pi to run the remote control.
4-
You can install a Raspberry Pi OS Lite and use the [bootstrap.sh](bootstrap.sh) script to set it up:
4+
You can install a [Raspberry Pi OS Lite](https://www.raspberrypi.com/software/operating-systems/)
5+
and use the [bootstrap.sh](bootstrap.sh) script to set it up:
56

67
```shell
7-
# 1. Install Raspberry Pi OS Lite (32 or 64bit)
8-
# 2. Setup username, password, hostname and ssh with
8+
# Install Raspberry Pi OS Lite (32bit) (https://www.raspberrypi.com/software/operating-systems/)
9+
# Setup username, password, hostname, ssh and autologin (without desktop) with
910
sudo raspi-config
10-
# 3. Install GIT
11-
sudo apt install git
12-
# 4. Clone this repository
13-
git clone https://github.com/RoboCup-SSL/ssl-remote-control.git
14-
cd ssl-remote-control
15-
# 5. Run bootstrap script
11+
# Download and extract latest bootstrap archive
12+
wget -qO- https://github.com/RoboCup-SSL/ssl-remote-control/releases/latest/download/bootstrap.tar.gz | tar xvz
13+
# Run bootstrap script
1614
./rpi/bootstrap.sh
1715
```

rpi/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function installRemoteControl() {
2323
SRC_VERSION="$(curl -s https://api.github.com/repos/RoboCup-SSL/ssl-remote-control/releases/latest | jq -r '.tag_name')"
2424
fi
2525
echo "Installing version: ${SRC_VERSION}"
26-
wget "https://github.com/RoboCup-SSL/ssl-remote-control/releases/download/v${SRC_VERSION}/ssl-remote-control_v${SRC_VERSION}_linux_arm" -O ~/.local/bin/ssl-remote-control
26+
wget "https://github.com/RoboCup-SSL/ssl-remote-control/releases/download/${SRC_VERSION}/ssl-remote-control_${SRC_VERSION}_linux_arm" -O ~/.local/bin/ssl-remote-control
2727
chmod +x ~/.local/bin/ssl-remote-control
2828
systemctl --user start ssl-remote-control.service
2929
}

0 commit comments

Comments
 (0)