From 7c290c191e77de9d3e4103a8ae09b8cfd765afd4 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Tue, 3 Jun 2025 08:17:17 -0600 Subject: [PATCH] 1748960237 --- installer1.sh | 2 ++ installer3.sh | 4 ++-- installer4.sh | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/installer1.sh b/installer1.sh index ed060f3..657052a 100644 --- a/installer1.sh +++ b/installer1.sh @@ -5,6 +5,8 @@ set -e echo "Updating this repo..." git pull 1>/dev/null +sudo rpi-update + # run da raspberry pi config script sudo raspi-config diff --git a/installer3.sh b/installer3.sh index 99d3b9c..cfc4801 100644 --- a/installer3.sh +++ b/installer3.sh @@ -36,11 +36,11 @@ sudo apt update 1>/dev/null 2>/dev/null # clean up echo "Disabling and removing unneeded junk..." sudo systemctl disable bluetooth 1>/dev/null 2>/dev/null -sudo apt purge bluetooth -y 1>/dev/null 2>/dev/null +sudo apt purge -y bluetooth* usb* wireless* pci* fonts* build-essential bluez* alsa* 1>/dev/null 2>/dev/null # install da packages echo "Installing packages, this may take a while..." -sudo apt install telegraf grafana influxdb pps-tools gpsd gpsd-clients chrony syslog-ng gh lynx btop htop iptraf iotop neovim netcat-traditional -y 1>/dev/null 2>/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 2>/dev/null # check if /boot/firmware/config.txt is configured yet grep -q -e "GPS PPS signals" /boot/firmware/config.txt diff --git a/installer4.sh b/installer4.sh index d255537..4be4320 100644 --- a/installer4.sh +++ b/installer4.sh @@ -32,6 +32,7 @@ sudo systemctl enable grafana-server 1>/dev/null sudo systemctl enable telegraf 1>/dev/null sudo systemctl enable grafana-server 1>/dev/null sudo systemctl enable syslog-ng 1>/dev/null +sudo systemctl enable logrotate 1>/dev/null # reboot rq echo "Rebooting now!"