Skip to content

Commit 05e1637

Browse files
author
A. Täffner
committed
PureFTP Welcome Message
1 parent d0c5a70 commit 05e1637

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/lib/installer_base.lib.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1551,6 +1551,9 @@ public function configure_pureftpd() {
15511551
}
15521552

15531553
if(!is_file('/etc/pure-ftpd/conf/DontResolve')) exec('echo "yes" > /etc/pure-ftpd/conf/DontResolve');
1554+
1555+
if(!is_file('/etc/pure-ftpd/welcome.msg')) exec('echo "FTP managed by ISPConfig" > /etc/pure-ftpd/welcome.msg');
1556+
if(!is_file('/etc/pure-ftpd/conf/FortunesFile')) exec('echo "/etc/pure-ftpd/welcome.msg" > /etc/pure-ftpd/conf/FortunesFile');
15541557
}
15551558

15561559
public function configure_mydns() {

0 commit comments

Comments
 (0)