1748956596
This commit is contained in:
+3
-3
@@ -3,13 +3,13 @@ set -e
|
||||
|
||||
# updoot
|
||||
echo "Updating software lists..."
|
||||
sudo apt update 1>/dev/null
|
||||
sudo apt update 1>/dev/null 2>/dev/null
|
||||
|
||||
echo "Fully upgrading, this may take a while..."
|
||||
sudo apt dist-upgrade -y 1>/dev/null
|
||||
sudo apt dist-upgrade -y 1>/dev/null 2>/dev/null
|
||||
|
||||
echo "Cleaning up..."
|
||||
sudo apt autoremove -y 1>/dev/null
|
||||
sudo apt autoremove -y 1>/dev/null 2>/dev/null
|
||||
|
||||
echo "Rebooting now!"
|
||||
sudo reboot
|
||||
|
||||
+3
-3
@@ -28,10 +28,10 @@ fi
|
||||
|
||||
# install em
|
||||
echo "Getting new software lists..."
|
||||
sudo apt update 1>/dev/null
|
||||
sudo apt update 1>/dev/null 2>/dev/nul
|
||||
|
||||
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 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 1>/dev/null 2>/dev/nul
|
||||
|
||||
# check if /boot/firmware/config.txt is configured yet
|
||||
grep -q -e "GPS PPS signals" /boot/firmware/config.txt
|
||||
@@ -61,7 +61,7 @@ else
|
||||
fi
|
||||
|
||||
echo "Cleaning up..."
|
||||
sudo apt autoremove 1>/dev/null # cleanup
|
||||
sudo apt autoremove 1>/dev/null 2>/dev/null # cleanup
|
||||
|
||||
echo "Rebooting now!"
|
||||
sudo reboot
|
||||
|
||||
Reference in New Issue
Block a user