Skip to content

A live bird collage card for your Home Assistant dashboard.

Update update_services.sh

Patrick McGuire5cc923445975
diff --git a/scripts/update_services.sh b/scripts/update_services.sh
index bcd889e6..9845c5b6 100755
--- a/scripts/update_services.sh
+++ b/scripts/update_services.sh
@@ -19,6 +19,12 @@ set_hostname() {
fi
}
+install_ftpd() {
+ if ! [ -f /etc/ftpuseres ];then
+ apt -y install ftpd
+ fi
+}
+
update_system() {
apt update && apt -y upgrade
}
@@ -546,6 +552,7 @@ install_selected_services() {
create_necessary_dirs
generate_BirdDB
install_cleanup_cron
+ install_ftpd
systemctl restart php${php_version}-fpm
}