We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b27cc66 commit 102d05eCopy full SHA for 102d05e
func/upgrade.sh
@@ -149,7 +149,13 @@ upgrade_init_backup() {
149
fi
150
151
if [ ! -z "$FTP_SYSTEM" ]; then
152
- cp -f /etc/$FTP_SYSTEM.conf $HESTIA_BACKUP/conf/$FTP_SYSTEM/
+ if [ "$FTP_SYSTEM" = "vsftpd" ]; then
153
+ cp -f /etc/$FTP_SYSTEM.conf $HESTIA_BACKUP/conf/$FTP_SYSTEM/
154
+ fi
155
+
156
+ if [ "$FTP_SYSTEM" = "proftpd" ]; then
157
+ cp -f /etc/proftpd/proftpd.conf $HESTIA_BACKUP/conf/$FTP_SYSTEM/
158
159
160
if [ ! -z "$FIREWALL_EXTENSION" ]; then
161
cp -f /etc/$FIREWALL_EXTENSION/*.conf $HESTIA_BACKUP/conf/$FIREWALL_EXTENSION/
0 commit comments