Fix install_gs.sh

This commit is contained in:
Vasily Evseenko 2022-08-01 16:03:06 +03:00
parent 232a8f655f
commit b04827e6dd
2 changed files with 3 additions and 5 deletions

View File

@ -86,7 +86,7 @@ wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 2312
```
git clone https://github.com/svpcom/wifibroadcast.git
cd wifibroadcast
sudo sh install_gs.sh wifi0
sudo ./scripts/install_gs.sh wifi0
```
- Done! To monitor the link use the following command on the ground station:
```

4
install_gs.sh → scripts/install_gs.sh Normal file → Executable file
View File

@ -1,4 +1,5 @@
#!/bin/sh
set -e
# Install required packages
apt update
@ -19,9 +20,6 @@ mv gs.key /etc/gs.key
# Install
dpkg -i deb_dist/*.deb
# Setup system
echo net.core.bpf_jit_enable = 1 >> /etc/sysctl.conf
# Setup config
cat <<EOT >> /etc/wifibroadcast.cfg
[common]