summaryrefslogtreecommitdiffstats
path: root/ftp_wizard
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-08-29 16:24:10 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-08-29 16:24:10 +0000
commitf114fe23b1de6156dcd85393b2ebadab762e3e68 (patch)
tree412435949ac8bb11eac75a2942ae03d8fe1ed322 /ftp_wizard
parentf411f9a01aa8392e49f5305fb71eb787c85afea4 (diff)
downloaddrakwizard-f114fe23b1de6156dcd85393b2ebadab762e3e68.tar
drakwizard-f114fe23b1de6156dcd85393b2ebadab762e3e68.tar.gz
drakwizard-f114fe23b1de6156dcd85393b2ebadab762e3e68.tar.bz2
drakwizard-f114fe23b1de6156dcd85393b2ebadab762e3e68.tar.xz
drakwizard-f114fe23b1de6156dcd85393b2ebadab762e3e68.zip
dhcp fix and script improvements and little fixes
Diffstat (limited to 'ftp_wizard')
-rw-r--r--ftp_wizard/scripts/Ftpconf.pm18
-rw-r--r--ftp_wizard/scripts/ProFtpconf.pm3
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>';