1748955925

This commit is contained in:
2025-06-03 07:05:25 -06:00
parent 56c26e260a
commit 9fabc93055
4 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
#!/bin/bash
# updoot this
echo "Updating this repo"
git pull
git pull 2>/dev/null 1>/dev/null
# run da raspberry pi config script
sudo raspi-config
echo "Rebooting in 5 minutes"
echo "Rebooting now!"
sudo reboot
# sudo shutdown -r +5
+7 -7
View File
@@ -2,15 +2,15 @@
set -e
# updoot
echo "Updating software lists"
sudo apt update
echo "Updating software lists..."
sudo apt update 2>/dev/null 1>/dev/null
echo "Fully upgrading"
sudo apt dist-upgrade -y
echo "Fully upgrading, this may take a while..."
sudo apt dist-upgrade -y 2>/dev/null 1>/dev/null
echo "Cleaning up"
sudo apt autoremove
echo "Cleaning up..."
sudo apt autoremove -y 2>/dev/null 1>/dev/null
echo "Rebooting in 5 minutes"
echo "Rebooting now!"
sudo reboot
# sudo shutdown -r +5
+5 -5
View File
@@ -27,10 +27,10 @@ else
fi
# install em
echo "Getting new software lists"
sudo apt update
echo "Getting new software lists..."
sudo apt update 2>/dev/null 1>/dev/null
echo "Installing 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 2>/dev/null 1>/dev/null
# check if /boot/firmware/config.txt is configured yet
@@ -61,8 +61,8 @@ else
fi
echo "Cleaning up"
sudo apt autoremove # cleanup
sudo apt autoremove 2>/dev/null 1>/dev/null # cleanup
echo "Rebooting in 5 minutes"
echo "Rebooting now!"
sudo reboot
# sudo shutdown -r +5
+1 -1
View File
@@ -29,6 +29,6 @@ sudo systemctl enable grafana-server
sudo systemctl enable syslog-ng
# reboot rq
echo "Rebooting in 5 minutes"
echo "Rebooting now!"
sudo reboot
# sudo shutdown -r +5