From f208685c83686096e913b6b4ec1b78ebc7a33e78 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Thu, 3 Feb 2022 14:06:16 -0500 Subject: [PATCH] save for restarting vnc -- no need --- scripts/update_birdnet2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_birdnet2.sh b/scripts/update_birdnet2.sh index ab6fea2..651285f 100755 --- a/scripts/update_birdnet2.sh +++ b/scripts/update_birdnet2.sh @@ -23,7 +23,7 @@ fi sudo -u${USER} cp -f ~/BirdNET-Pi/model/labels.txt.bak ~/BirdNET-Pi/model/labels.txt # Stage 2 restarts the services -newservices=($(awk '/systemctl/ && !/php/ && !/caddy/ && !/avahi/ && !/target/ {print $3}' <(sed -e 's/--now//g' ${my_dir}/update_services.sh) | sort | uniq )) +newservices=($(awk '/systemctl/ && !/php/ && !/caddy/ && !/vnc/ && !/avahi/ && !/target/ {print $3}' <(sed -e 's/--now//g' ${my_dir}/update_services.sh) | sort | uniq )) for i in ${newservices[@]};do sudo systemctl restart ${i} done