diff --git a/installer2.sh b/installer2.sh index 2f66c29..262b341 100644 --- a/installer2.sh +++ b/installer2.sh @@ -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 diff --git a/installer3.sh b/installer3.sh index d0c3253..330e702 100644 --- a/installer3.sh +++ b/installer3.sh @@ -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