From 886bf05c2e264678e92fffc07c606e7bb66b36d6 Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Mon, 24 Jan 2022 10:50:38 -0500 Subject: [PATCH] Update update_services.sh --- scripts/update_services.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/update_services.sh b/scripts/update_services.sh index 31079eb..75dbcb0 100755 --- a/scripts/update_services.sh +++ b/scripts/update_services.sh @@ -19,6 +19,10 @@ set_hostname() { fi } +update_system() { + apt update && apt -y upgrade +} + install_scripts() { echo "Installing BirdNET-Pi scripts to /usr/local/bin" ln -sf ${my_dir}/* /usr/local/bin/ @@ -507,6 +511,7 @@ install_cleanup_cron() { install_selected_services() { set_hostname + update_system install_scripts install_birdnet_analysis