waypoint
This commit is contained in:
+4
-4
@@ -28,7 +28,7 @@ fi
|
||||
|
||||
# updoot
|
||||
echo "Getting new software lists..."
|
||||
sudo apt update 1>/dev/null 2>&1
|
||||
sudo apt update
|
||||
|
||||
# clean up
|
||||
echo "Disabling unneeded junk..."
|
||||
@@ -37,11 +37,11 @@ sudo update-rc.d -f fake-hwclock remove 1>/dev/null 2>/dev/null
|
||||
sudo systemctl disable fake-hwclock 1>/dev/null 2>/dev/null
|
||||
|
||||
echo "Purging unneeded junk..."
|
||||
sudo apt purge -y "bluetooth*" "usb*" "wireless*" "pci*" "fonts*" build-essential "bluez*" "alsa*" fake-hwclock 1>/dev/null 2>&1
|
||||
sudo apt purge -y "bluetooth*" "usb*" "wireless*" "pci*" "fonts*" build-essential "bluez*" "alsa*" fake-hwclock
|
||||
|
||||
# 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 1>/dev/null 2>&1
|
||||
sudo apt install -y telegraf grafana influxdb pps-tools git gh gpsd gpsd-clients chrony syslog-ng gh lynx btop htop iptraf-ng iotop neovim netcat-traditional python3-smbus i2c-tools picocom
|
||||
|
||||
# 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 1>/dev/null 2>&1
|
||||
sudo apt autoremove -y
|
||||
|
||||
if [ ! -z $SUDO_USER ]; then
|
||||
username=$SUDO_USER
|
||||
|
||||
Reference in New Issue
Block a user