1748962508
This commit is contained in:
+3
-5
@@ -1,15 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
sudo apt update
|
|
||||||
|
|
||||||
# updoot
|
# updoot
|
||||||
echo "Updating software lists..."
|
echo "Updating software lists..."
|
||||||
sudo apt update 1>/dev/null
|
sudo apt update 1>/dev/null 2>/dev/null
|
||||||
|
|
||||||
echo "Installing utils..."
|
echo "Installing utils..."
|
||||||
sudo apt install raspi-utils 1>/dev/null
|
sudo apt install raspi-utils
|
||||||
sudo apt install "raspi*" 1>/dev/null
|
sudo apt install "raspi*"
|
||||||
|
|
||||||
# updoot this
|
# updoot this
|
||||||
echo "Updating this repo..."
|
echo "Updating this repo..."
|
||||||
|
|||||||
+3
-3
@@ -6,13 +6,13 @@ git pull 1>/dev/null
|
|||||||
|
|
||||||
# updoot
|
# updoot
|
||||||
echo "Updating software lists..."
|
echo "Updating software lists..."
|
||||||
sudo apt update 1>/dev/null
|
sudo apt update
|
||||||
|
|
||||||
echo "Fully upgrading, this may take a while..."
|
echo "Fully upgrading, this may take a while..."
|
||||||
sudo apt dist-upgrade -y 1>/dev/null
|
sudo apt dist-upgrade -y
|
||||||
|
|
||||||
echo "Cleaning up..."
|
echo "Cleaning up..."
|
||||||
sudo apt autoremove -y 1>/dev/null
|
sudo apt autoremove -y
|
||||||
|
|
||||||
echo "Part 2 done!"
|
echo "Part 2 done!"
|
||||||
echo "Rebooting now!"
|
echo "Rebooting now!"
|
||||||
|
|||||||
+2
-2
@@ -38,11 +38,11 @@ echo "Disabling unneeded junk..."
|
|||||||
sudo systemctl disable bluetooth 1>/dev/null 2>/dev/null
|
sudo systemctl disable bluetooth 1>/dev/null 2>/dev/null
|
||||||
|
|
||||||
echo "Purging unneeded junk..."
|
echo "Purging unneeded junk..."
|
||||||
sudo apt purge -y bluetooth* usb* wireless* pci* fonts* build-essential bluez* alsa* 1>/dev/null
|
sudo apt purge -y "bluetooth*" "usb*" "wireless*" "pci*" "fonts*" build-essential "bluez*" "alsa*"
|
||||||
|
|
||||||
# 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 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
|
||||||
|
|
||||||
# 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