From 04aef64d772460c9131e780c5fea6fa8e8aa4bba Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Thu, 12 Sep 2024 13:32:31 +0200 Subject: [PATCH] Update INSTALL.sh --- version/0.2.9/INSTALL.sh | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/version/0.2.9/INSTALL.sh b/version/0.2.9/INSTALL.sh index c82293f7..c6307a6c 100644 --- a/version/0.2.9/INSTALL.sh +++ b/version/0.2.9/INSTALL.sh @@ -63,7 +63,6 @@ SKIP_IMAGES=false # they are REPAIR=false LOCALES=true # only en NO_SSH=false # deny port 22 -INSTALL_FTP=false # no ui yet INSTALL_MAIL=false # no ui yet IPSETS=true # currently only works with ufw SET_HOSTNAME_NOW=false # must be a FQDN @@ -315,7 +314,6 @@ docker_compose_up # must be after configure_nginx set_premium_features # must be after docker_compose_up configure_modsecurity # TEMPORARY OFF FROM 0.2.5 #setup_email # TEMPORARY OFF FROM 0.2.5 -setup_ftp # setup shared ftp service - NO UI YET! set_custom_hostname # set hostname if provided generate_and_set_ssl_for_panels # if FQDN then lets setup https setup_firewall_service # setup firewall @@ -426,7 +424,6 @@ parse_args() { echo " --skip-ssl Skip SSL setup." echo " --with_modsec Enable ModSecurity for Nginx." echo " --no-ssh Disable port 22 and whitelist the IP address of user installing the panel." - echo " --enable-ftp Install FTP (experimental)." echo " --enable-mail Install Mail (experimental)." echo " --post_install= Specify the post install script path." echo " --screenshots= Set the screenshots API URL." @@ -504,9 +501,6 @@ while [[ $# -gt 0 ]]; do --no-ssh) NO_SSH=true ;; - --enable-ftp) - INSTALL_FTP=true - ;; --enable-mail) INSTALL_MAIL=true ;; @@ -817,22 +811,6 @@ tweak_ssh(){ } -setup_ftp() { - if [ "$INSTALL_FTP" = true ]; then - mkdir -p /etc/openpanel/ftp/ - touch /etc/openpanel/ftp/users/all.users - chmod 644 /etc/openpanel/ftp/all.users - - wget -O /usr/local/admin/scripts/ftp/users https://gist.githubusercontent.com/stefanpejcic/cd63cbfeccce4f38cd16ac558ffa9bc8/raw/a1afb0891cd9d0bda36ef5a78b7f6c1183b031a2/ftp.sh - chmod +x /usr/local/admin/scripts/ftp/users - - echo "Installing experimental FTP service." - cd /root && docker compose up -d ftp_env_generator - cd /root && docker compose up -d openadmin_ftp - fi -} - - setup_email() { if [ "$INSTALL_MAIL" = true ]; then