diff options
Diffstat (limited to 'ftp_wizard/scripts')
-rw-r--r-- | ftp_wizard/scripts/Ftpconf.pm | 18 | ||||
-rw-r--r-- | ftp_wizard/scripts/ProFtpconf.pm | 3 |
2 files changed, 19 insertions, 2 deletions
diff --git a/ftp_wizard/scripts/Ftpconf.pm b/ftp_wizard/scripts/Ftpconf.pm index a2c57f04..92473579 100644 --- a/ftp_wizard/scripts/Ftpconf.pm +++ b/ftp_wizard/scripts/Ftpconf.pm @@ -1,5 +1,23 @@ #!/usr/bin/perl +# Proftpd Config Parser + +# Copyright (C) 2002 MandrakeSoft Arnaud Desmons <adesmons@mandrakesoft.com> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + package Ftpconf; require "__WIZ_HOME__/common/scripts/Vareqval.pm"; use MDK::Common; diff --git a/ftp_wizard/scripts/ProFtpconf.pm b/ftp_wizard/scripts/ProFtpconf.pm index ec596a88..a53a1023 100644 --- a/ftp_wizard/scripts/ProFtpconf.pm +++ b/ftp_wizard/scripts/ProFtpconf.pm @@ -15,7 +15,6 @@ sub true { 0; } - my $o = DrakconnectConf->new(); sub check { @@ -73,7 +72,7 @@ sub do_it { <Global> <Limit LOGIN> Order allow,deny - Allow from ' .$allow.' + Allow from '.$allow.' Deny from all </Limit> </Global>'; |