diff options
Diffstat (limited to 'nfs_wizard')
-rwxr-xr-x | nfs_wizard/NFS.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nfs_wizard/NFS.pm b/nfs_wizard/NFS.pm index 6474e75c..d81658a7 100755 --- a/nfs_wizard/NFS.pm +++ b/nfs_wizard/NFS.pm @@ -45,7 +45,7 @@ my %level = ( 1 => N("All - No access restriction"), 2 => N("Local Network - access for local network (recommended)") ); - + $o->{pages} = { welcome => { name => N("NFS Server Configuration Wizard") . "\n\n" . N("This wizard will help you configuring the NFS server for your network."), @@ -53,7 +53,7 @@ $o->{pages} = { next => 'nfs' }, nfs => { - name => N("NFS server"), + name => N("NFS server") . "\n\n" .N("Directory which will be exported to NFS clients. This directory will be exported in read only mode. It's disallow any request which changes the filesystem."), post => \&check, data => [ { label => N("Directory:"), val => \$o->{var}{wiz_nfs_dir} }, @@ -99,7 +99,7 @@ $o->{pages} = { next => 'end' }, end => { - name => N("Congratulations") . "\n\n" . N("The wizard successfully configured your NFS server"), + name => N("Congratulations") . "\n\n" . N("The wizard successfully configured your NFS server."), end => 1, next => 0 }, @@ -144,7 +144,7 @@ sub do_it { -f $file and cp_af($file, $file.".orig"); if ($o->{var}{wiz_nfs_level} == 2) { #my $mask = $wiz->{net}->itf_get("NETMASK"); - $line = "$o->{var}{wiz_nfs_dir} $o->{var}{wiz_netmask}(rw,no_root_squash,sync)\n"; + $line = "$o->{var}{wiz_nfs_dir} $o->{var}{wiz_netmask}(ro,no_root_squash,sync)\n"; } else { $line = "$o->{var}{wiz_nfs_dir} *(rw,no_root_squash,sync)\n"; |