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
+7 -7
View File
@@ -28,20 +28,20 @@ fi
# updoot
echo "Getting new software lists..."
sudo apt update 1>/dev/null 2>/dev/null
sudo apt update > /dev/null
# clean up
echo "Disabling unneeded junk..."
sudo systemctl disable bluetooth 1>/dev/null 2>/dev/null
sudo update-rc.d -f fake-hwclock remove
sudo systemctl disable fake-hwclock
sudo systemctl disable bluetooth > /dev/null
sudo update-rc.d -f fake-hwclock remove > /dev/null
sudo systemctl disable fake-hwclock > /dev/null
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
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
grep -e "pps-gpio" /etc/modules
@@ -56,7 +56,7 @@ else
fi
echo "Cleaning up..."
sudo apt autoremove -y # cleanup
sudo apt autoremove -y > /dev/null # cleanup
if [ ! -z $SUDO_USER ]; then
username=$SUDO_USER