From f114fe23b1de6156dcd85393b2ebadab762e3e68 Mon Sep 17 00:00:00 2001 From: Arnaud Desmons Date: Thu, 29 Aug 2002 16:24:10 +0000 Subject: dhcp fix and script improvements and little fixes --- ftp_wizard/scripts/Ftpconf.pm | 18 ++++++++++++++++++ ftp_wizard/scripts/ProFtpconf.pm | 3 +-- 2 files changed, 19 insertions(+), 2 deletions(-) (limited to 'ftp_wizard/scripts') 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 +# +# 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 { Order allow,deny - Allow from ' .$allow.' + Allow from '.$allow.' Deny from all '; -- cgit v1.2.1