summaryrefslogtreecommitdiffstats
path: root/ftp_wizard
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-28 14:55:22 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-28 14:55:22 +0000
commitefc9417eff677234628f2d6456c8585755f99c28 (patch)
treee217b77436734d50345e9a0c0311cb4fc71e85a0 /ftp_wizard
parent4fcffba3398f73305370cb31f58033b7be153272 (diff)
downloaddrakwizard-efc9417eff677234628f2d6456c8585755f99c28.tar
drakwizard-efc9417eff677234628f2d6456c8585755f99c28.tar.gz
drakwizard-efc9417eff677234628f2d6456c8585755f99c28.tar.bz2
drakwizard-efc9417eff677234628f2d6456c8585755f99c28.tar.xz
drakwizard-efc9417eff677234628f2d6456c8585755f99c28.zip
upcase protocol name
Diffstat (limited to 'ftp_wizard')
-rwxr-xr-xftp_wizard/Proftpd.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftp_wizard/Proftpd.pm b/ftp_wizard/Proftpd.pm
index 5c6825f1..5ca4753d 100755
--- a/ftp_wizard/Proftpd.pm
+++ b/ftp_wizard/Proftpd.pm
@@ -85,7 +85,7 @@ $o->{pages} = {
next => 'options'
},
options => {
- name => N("FTP Proftpd server options") . "\n\n" . N("Permit root login: allow root to log on ftp server.") . "\n" . N("Admin Email: email address of FTP administrator.") . "\n" . N("Chroot Home user: the users will only see their home directory.") . "\n\n" . N("Allow FTP resume: allow resume upload or download on ftp server.") . "\n" . N("Allow FXP: allow file transfert via other ftp."),
+ name => N("FTP Proftpd server options") . "\n\n" . N("Permit root login: allow root to log on FTP server.") . "\n" . N("Admin Email: email address of FTP administrator.") . "\n" . N("Chroot Home user: the users will only see their home directory.") . "\n\n" . N("Allow FTP resume: allow resume upload or download on FTP server.") . "\n" . N("Allow FXP: allow file transfert via other FTP."),
pre => sub {
$o->{var}{wiz_root_login} ||= 0;
$o->{var}{wiz_default_root} ||= 1;
@@ -182,7 +182,7 @@ sub check_dir {
sub get_dir {
my $file = "/etc/proftpd.conf";
- die "no ftp configuration file found ! warning." if !-f $file;
+ die "no FTP configuration file found ! warning." if !-f $file;
local *NEW;
open(NEW, "< $file") or die "error while opening $file: $!";
@@ -248,7 +248,7 @@ sub do_it {
my $wiz_ftp_internal = $o->{var}{wiz_ftp_external} ? 1 : true $o->{var}{wiz_ftp_internal};
my $wiz_ftp_external = true $o->{var}{wiz_ftp_external};
my $file = "/etc/proftpd.conf";
- die "no ftp configuration file found ! warning." if !-f $file;
+ die "no FTP configuration file found ! warning." if !-f $file;
MDK::Common::cp_af($file, $file . ".orig");
my $allow;
if ($wiz_ftp_internal && !$wiz_ftp_external) {