From 5cc92344597584523876f8e5afc9911a4de4ddd6 Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Tue, 25 Jan 2022 14:56:41 -0500 Subject: [PATCH] Update update_services.sh --- scripts/update_services.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/update_services.sh b/scripts/update_services.sh index bcd889e..9845c5b 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 }