summaryrefslogtreecommitdiffstats
path: root/ftp_wizard
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2003-02-28 18:48:08 +0000
committerFlorent Villard <warly@mandriva.com>2003-02-28 18:48:08 +0000
commit95147b49a34217f6bfd43661e09f10a26cae8802 (patch)
tree86a8e72f147e6c2538eef04e839324bafa345b13 /ftp_wizard
parentb2c33ddc8e1674ea9c58c11827b997e4b9816ddc (diff)
downloaddrakwizard-95147b49a34217f6bfd43661e09f10a26cae8802.tar
drakwizard-95147b49a34217f6bfd43661e09f10a26cae8802.tar.gz
drakwizard-95147b49a34217f6bfd43661e09f10a26cae8802.tar.bz2
drakwizard-95147b49a34217f6bfd43661e09f10a26cae8802.tar.xz
drakwizard-95147b49a34217f6bfd43661e09f10a26cae8802.zip
remove unknow fields from dhcpd.conf and add ip of the gateway and dnsserver
Diffstat (limited to 'ftp_wizard')
-rw-r--r--ftp_wizard/ftp.wiz5
-rw-r--r--ftp_wizard/scripts/ProFtpconf.pm3
2 files changed, 3 insertions, 5 deletions
diff --git a/ftp_wizard/ftp.wiz b/ftp_wizard/ftp.wiz
index e34ad798..fb145044 100644
--- a/ftp_wizard/ftp.wiz
+++ b/ftp_wizard/ftp.wiz
@@ -199,11 +199,12 @@
<Freetext
name="freetext_dir"
variableName="wiz_dir"
- helpText="Shared directory:"
- editable="true"
fillfunc="get_dir"
+ helpText="Shared directory:"
+ editable="true"
>
</Freetext>
+
</Page>
diff --git a/ftp_wizard/scripts/ProFtpconf.pm b/ftp_wizard/scripts/ProFtpconf.pm
index 711ecc3c..fece3460 100644
--- a/ftp_wizard/scripts/ProFtpconf.pm
+++ b/ftp_wizard/scripts/ProFtpconf.pm
@@ -34,9 +34,6 @@ sub true {
}
sub check_dir {
- foreach (keys %ENV) {
- print "$_ $ENV{$_}\n";
- }
-d ($ENV{wiz_dir}) and return 10;
1;
}