This commit is contained in:
2025-06-14 02:36:38 -06:00
parent 40e9eeef69
commit 16d054a501
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -2,10 +2,10 @@
set -e set -e
echo "Fully upgrading, this may take a while..." echo "Fully upgrading, this may take a while..."
sudo apt dist-upgrade -y sudo apt dist-upgrade -y > /dev/null
echo "Cleaning up..." echo "Cleaning up..."
sudo apt autoremove -y sudo apt autoremove -y > /dev/null
echo "Installer2.sh complete" >> ./status.txt echo "Installer2.sh complete" >> ./status.txt
+7 -7
View File
@@ -28,20 +28,20 @@ fi
# updoot # updoot
echo "Getting new software lists..." echo "Getting new software lists..."
sudo apt update 1>/dev/null 2>/dev/null sudo apt update > /dev/null
# clean up # clean up
echo "Disabling unneeded junk..." echo "Disabling unneeded junk..."
sudo systemctl disable bluetooth 1>/dev/null 2>/dev/null sudo systemctl disable bluetooth > /dev/null
sudo update-rc.d -f fake-hwclock remove sudo update-rc.d -f fake-hwclock remove > /dev/null
sudo systemctl disable fake-hwclock sudo systemctl disable fake-hwclock > /dev/null
echo "Purging unneeded junk..." echo "Purging unneeded junk..."
sudo apt purge -y "bluetooth*" "usb*" "wireless*" "pci*" "fonts*" build-essential "bluez*" "alsa*" fake-hwclock sudo apt purge -y "bluetooth*" "usb*" "wireless*" "pci*" "fonts*" build-essential "bluez*" "alsa*" fake-hwclock > /dev/null
# 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 python3-smbus i2c-tools picocom sudo apt install -y telegraf grafana influxdb pps-tools gpsd gpsd-clients chrony syslog-ng gh lynx btop htop iptraf iotop neovim netcat-traditional python3-smbus i2c-tools picocom > /dev/null
# check if pps-gpio is in /etc/modules already # check if pps-gpio is in /etc/modules already
grep -e "pps-gpio" /etc/modules grep -e "pps-gpio" /etc/modules
@@ -56,7 +56,7 @@ else
fi fi
echo "Cleaning up..." echo "Cleaning up..."
sudo apt autoremove -y # cleanup sudo apt autoremove -y > /dev/null # cleanup
if [ ! -z $SUDO_USER ]; then if [ ! -z $SUDO_USER ]; then
username=$SUDO_USER username=$SUDO_USER
+1 -1
View File
@@ -10,7 +10,7 @@ else
fi fi
echo "Updating Software Lists" echo "Updating Software Lists"
sudo apt update sudo apt update > /dev/null
echo "Installing git" echo "Installing git"
sudo apt install git -y sudo apt install git -y