summaryrefslogtreecommitdiffstats
path: root/nfs_wizard
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-22 20:24:49 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-22 20:24:49 +0000
commitc39ce7aa14f2424c874cc58b5ce5249a05fabe66 (patch)
tree8893b894f4ac7fc7b2fe4dc116654b3830e88668 /nfs_wizard
parent568cc7c168e09ca61e6a6652ad0ab597fa5b6421 (diff)
downloaddrakwizard-c39ce7aa14f2424c874cc58b5ce5249a05fabe66.tar
drakwizard-c39ce7aa14f2424c874cc58b5ce5249a05fabe66.tar.gz
drakwizard-c39ce7aa14f2424c874cc58b5ce5249a05fabe66.tar.bz2
drakwizard-c39ce7aa14f2424c874cc58b5ce5249a05fabe66.tar.xz
drakwizard-c39ce7aa14f2424c874cc58b5ce5249a05fabe66.zip
perl_checker fixes
Diffstat (limited to 'nfs_wizard')
-rwxr-xr-xnfs_wizard/NFS.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/nfs_wizard/NFS.pm b/nfs_wizard/NFS.pm
index a27f32fa..e40ad943 100755
--- a/nfs_wizard/NFS.pm
+++ b/nfs_wizard/NFS.pm
@@ -106,7 +106,7 @@ $o->{pages} = {
};
sub new {
- my ($class, $conf) = @_;
+ my ($class) = @_;
bless {
o => $o,
}, $class;
@@ -125,7 +125,7 @@ sub network_mask {
}
sub chooser {
- $o->{var}{wiz_nfs_level} == 2 and 'shownet'
+ $o->{var}{wiz_nfs_level} == 2 || 'shownet'
}
sub do_it {
@@ -135,7 +135,7 @@ sub do_it {
chomp($o->{var}{wiz_nfs_dir});
-f $file and cp_af($file, $file.".orig");
if ($o->{var}{wiz_nfs_level} == 2) {
- my $mask = $wiz->{net}->itf_get("NETMASK");
+ #my $mask = $wiz->{net}->itf_get("NETMASK");
$line = "$o->{var}{wiz_nfs_dir} $o->{var}{wiz_netmask}(rw,no_root_squash,sync)\n";
}
else {