From 79843e9711f1e21823df989c9200031514e8e0fc Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Wed, 5 Nov 2003 16:57:20 +0000 Subject: fix ftp anonymous mode fix ntp wizard fix bind config --- ftp_wizard/Proftpd.pm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'ftp_wizard') diff --git a/ftp_wizard/Proftpd.pm b/ftp_wizard/Proftpd.pm index c4bb6b0c..764a9cc4 100755 --- a/ftp_wizard/Proftpd.pm +++ b/ftp_wizard/Proftpd.pm @@ -36,7 +36,7 @@ my $o = { wiz_ftp_anon => '', wiz_ftp_home => '' }, - needed_rpm => [ 'proftpd' ], + needed_rpm => [ 'proftpd', 'proftpd-anonymous' ], defaultimage => "$ENV{__WIZ_HOME__}ftp_wizard/images/FTP.png" }; @@ -103,12 +103,12 @@ sub true { $val eq "1" || $val eq "\'1\'" || $val eq "\"1\"" || $val eq "true" || $val eq "\'true\'" || $val eq "\"true\"" and return 1; - 0; + 0 } sub check_dir { -d $o->{var}{wiz_dir} and return 10; - 1; + 1 } sub get_dir { @@ -123,13 +123,13 @@ sub get_dir { } } } - return ""; + "" } sub check { $> and return 'must_be_root'; $wiz->{net}->is_dhcp() and return 'warning_dhcp'; - ''; + '' } sub print_anonymous() { @@ -203,7 +203,8 @@ sub do_it { Deny from all -#'; +# +'; close NEW; } else { # the known section (3 parameters ) is replaced with our needs -- cgit v1.2.1