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 #!/bin/bash
# updoot this # updoot this
echo "Updating this repo" echo "Updating this repo"
git pull git pull 2>/dev/null 1>/dev/null
# run da raspberry pi config script # run da raspberry pi config script
sudo raspi-config sudo raspi-config
echo "Rebooting in 5 minutes" echo "Rebooting now!"
sudo reboot sudo reboot
# sudo shutdown -r +5 # sudo shutdown -r +5
+7 -7
View File
@@ -2,15 +2,15 @@
set -e set -e
# updoot # updoot
echo "Updating software lists" echo "Updating software lists..."
sudo apt update sudo apt update 2>/dev/null 1>/dev/null
echo "Fully upgrading" echo "Fully upgrading, this may take a while..."
sudo apt dist-upgrade -y sudo apt dist-upgrade -y 2>/dev/null 1>/dev/null
echo "Cleaning up" echo "Cleaning up..."
sudo apt autoremove sudo apt autoremove -y 2>/dev/null 1>/dev/null
echo "Rebooting in 5 minutes" echo "Rebooting now!"
sudo reboot sudo reboot
# sudo shutdown -r +5 # sudo shutdown -r +5
+5 -5
View File
@@ -27,10 +27,10 @@ else
fi fi
# install em # install em
echo "Getting new software lists" echo "Getting new software lists..."
sudo apt update 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 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 # check if /boot/firmware/config.txt is configured yet
@@ -61,8 +61,8 @@ else
fi fi
echo "Cleaning up" 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 reboot
# sudo shutdown -r +5 # sudo shutdown -r +5
+1 -1
View File
@@ -29,6 +29,6 @@ sudo systemctl enable grafana-server
sudo systemctl enable syslog-ng sudo systemctl enable syslog-ng
# reboot rq # reboot rq
echo "Rebooting in 5 minutes" echo "Rebooting now!"
sudo reboot sudo reboot
# sudo shutdown -r +5 # sudo shutdown -r +5