1748962336
This commit is contained in:
@@ -1,6 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
sudo apt update
|
||||||
|
|
||||||
|
# updoot
|
||||||
|
echo "Updating software lists..."
|
||||||
|
sudo apt update 1>/dev/null
|
||||||
|
|
||||||
|
echo "Installing utils..."
|
||||||
|
sudo apt install raspi-utils 1>/dev/null
|
||||||
|
sudo apt install "raspi*" 1>/dev/null
|
||||||
|
|
||||||
# updoot this
|
# updoot this
|
||||||
echo "Updating this repo..."
|
echo "Updating this repo..."
|
||||||
git pull 1>/dev/null 2>/dev/null
|
git pull 1>/dev/null 2>/dev/null
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@ sudo apt purge -y bluetooth* usb* wireless* pci* fonts* build-essential bluez* a
|
|||||||
|
|
||||||
# install da packages
|
# install da packages
|
||||||
echo "Installing packages, this may take a while..."
|
echo "Installing packages, this may take a while..."
|
||||||
sudo apt install -y telegraf grafana influxdb pps-tools gpsd gpsd-clients chrony syslog-ng gh lynx btop htop iptraf iotop neovim netcat-traditional raspi-utils raspi* 1>/dev/null
|
sudo apt install -y telegraf grafana influxdb pps-tools gpsd gpsd-clients chrony syslog-ng gh lynx btop htop iptraf iotop neovim netcat-traditional 1>/dev/null
|
||||||
|
|
||||||
# check if /boot/firmware/config.txt is configured yet
|
# check if /boot/firmware/config.txt is configured yet
|
||||||
grep -q -e "GPS PPS signals" /boot/firmware/config.txt
|
grep -q -e "GPS PPS signals" /boot/firmware/config.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user