summaryrefslogtreecommitdiffstats
path: root/nisautofs_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2004-01-20 00:33:30 +0000
committerAntoine Ginies <aginies@mandriva.com>2004-01-20 00:33:30 +0000
commit8e37e021d3eb8e02af627893fd45a9100bbef661 (patch)
treee600a4e92ed6734420242983eecc91f45b984516 /nisautofs_wizard
parent2e08fa912c3c47c26a5dfaf0eb11a16c3034cfc0 (diff)
downloaddrakwizard-8e37e021d3eb8e02af627893fd45a9100bbef661.tar
drakwizard-8e37e021d3eb8e02af627893fd45a9100bbef661.tar.gz
drakwizard-8e37e021d3eb8e02af627893fd45a9100bbef661.tar.bz2
drakwizard-8e37e021d3eb8e02af627893fd45a9100bbef661.tar.xz
drakwizard-8e37e021d3eb8e02af627893fd45a9100bbef661.zip
fix typo
Diffstat (limited to 'nisautofs_wizard')
-rw-r--r--nisautofs_wizard/Nisautofs.pm51
1 files changed, 25 insertions, 26 deletions
diff --git a/nisautofs_wizard/Nisautofs.pm b/nisautofs_wizard/Nisautofs.pm
index 08ef52d3..7e45adbd 100644
--- a/nisautofs_wizard/Nisautofs.pm
+++ b/nisautofs_wizard/Nisautofs.pm
@@ -1,4 +1,5 @@
-# version 0.2
+#/usr/bin/perl -w
+# version 0.3
#
# Copyright (C) 2002,2003 Mandrakesoft
#
@@ -21,12 +22,11 @@
package MDK::Wizard::Nisautofs;
use lib qw(/usr/lib/libDrakX);
-use ugtk2;
use strict;
-use standalone;
+#use standalone;
use common;
use services;
-use MDK::Wizard::Varspaceval;
+#use MDK::Wizard::Varspaceval;
use MDK::Wizard::Wizcommon;
@@ -67,7 +67,7 @@ my %level = (
$o->{pages} = {
welcome => {
- name => N("NIS+autofs configuration wizard") . "\n\n" . N('Setup a nis+autofs.'),
+ name => N("NIS server with autofs map") . "\n\n" . N('Setup a Nis server with autofs map (auto.home and auto.master files).") . "\n\n" . N("Client can automatically mount their home directory when they log on a NIS client computer network.'),
no_back => 1,
pre => sub { $o->{var}{wiz_level} ||= 1; },
post => sub { if ($o->{var}{wiz_level} == 2) {
@@ -75,36 +75,35 @@ $o->{pages} = {
}
},
data => [
- { label => N("Which operation on Wizard:"), val => \$o->{var}{wiz_level}, list => [ keys %level ], format => sub { $level{$_[0]} } },
+ { label => N("What do you want todo ?"), val => \$o->{var}{wiz_level}, list => [ keys %level ], format => sub { $level{$_[0]} } },
],
next => 'nis_server',
},
nis_client => {
- name => N("Be a nis client") . "\n\n" . N("You just have to put nisdomain and nisserver"),
+ name => N("Configure computer to be a NIS client") . "\n\n" . N("You just have to put nisdomain and nisserver"),
data => [
- { label => N("Nis Server:"), val => \$o->{var}{NISSERVER} },
- { label => N("Nis Domain:"), val => \$o->{var}{NISDOMAIN} },
+ { label => N("NIS Server:"), val => \$o->{var}{NISSERVER} },
+ { label => N("NIS Domain:"), val => \$o->{var}{NISDOMAIN} },
],
next => 'summaryclient',
},
nis_server => {
- name => N('Nis+autofs') . "\n\n" . N(''),
+ name => N('NIS server with autofs map') . "\n\n" . N('NIS server: name of your computer.') . "\n" . N('Home NIS: home directory for users on NIS server. This directory will be export through NFS server.') . "\n" . N('NIS domain: NIS domain for your NIS server.'),
data => [
- { label => N("Nis server:"), val => $HOST },
- { label => N("Home nis:"), val => \$o->{var}{HOMENIS} },
- { label => N("Nis directory Makefile:"), val => \$o->{var}{NIS_DIRMAKEFILE} },
- { label => N("Nis Domain:"), val => \$o->{var}{NISDOMAIN} },
+ { label => N("NIS server:"), val => $HOST },
+ { label => N("Home NIS:"), val => \$o->{var}{HOMENIS} },
+ { label => N("NIS domainname:"), val => \$o->{var}{NISDOMAIN} },
],
post => \&test_set,
next => 'summaryserver',
},
summaryserver => {
- name => N('Will set your NIS + Autofs server with this configuration:'),
+ name => N('Will set your NIS server with autofs map'),
data => [
- { label => N("Nis server:"), fixed_val => \$HOST },
- { label => N("Home nis:"), fixed_val => \$o->{var}{HOMENIS} },
- { label => N("Nis Domain:"), fixed_val => \$o->{var}{NISDOMAIN} },
- { label => N("Nis directory Makefile:"), fixed_val => \$o->{var}{NIS_DIRMAKEFILE} },
+ { label => N("NIS server:"), fixed_val => \$HOST },
+ { label => N("Home NIS:"), fixed_val => \$o->{var}{HOMENIS} },
+ { label => N("NIS domainname:"), fixed_val => \$o->{var}{NISDOMAIN} },
+ { label => N("Nis directory:"), fixed_val => \$o->{var}{NIS_DIRMAKEFILE} },
{ label => N("Network File:"), fixed_val => \$o->{var}{NETWORKFILE}},
{ label => N("Nfs exports:"), fixed_val => \$o->{var}{NFSEXPORTS} },
{ label => N("Auto master:"), fixed_val => \$o->{var}{AUTOMASTER} },
@@ -114,33 +113,33 @@ $o->{pages} = {
next => 'endserver',
},
summaryclient => {
- name => N('Will set your machine has a NIS client with this configuration:'),
+ name => N('Will set your computer has a NIS client.') . "\n\n" . N("NIS server: hostname of the nisserver.") . "\n" . N("NIS domainname: name of NIS domainname."),
data => [
- { label => N("Nis Server:"), fixed_val => \$o->{var}{NISSERVER} },
- { label => N("Nis Domain:"), fixed_val => \$o->{var}{NISDOMAIN} },
+ { label => N("NIS server:"), fixed_val => \$o->{var}{NISSERVER} },
+ { label => N("NIS domainname:"), fixed_val => \$o->{var}{NISDOMAIN} },
],
post => \&do_it_client,
next => 'endclient',
},
error_homedir => {
- name => N('Error Should be a directory'),
+ name => N('Error should be a directory'),
next => 'nis_server',
},
error_nisd => {
- name => N('Error nisdomainame Should be correct (not none or localdomain)') . "\n\n" . N('Please adjust with domainname command or in /etc/sysconfig/network file (NISDOMAIN=yournisdomain)'),
+ name => N('Error nisdomainame should be correct (not none or localdomain)') . "\n\n" . N('Please adjust with domainname command or in /etc/sysconfig/network file (NISDOMAIN=yournisdomain)'),
end => 1,
next => 0,
},
endclient => {
name => N('Congratulations'),
- data => [ { label => N('The wizard successfully configured Your machine to be a nis client.') } ],
+ data => [ { label => N('The wizard successfully configured your machine to be a NIS client.') } ],
no_back => 1,
end => 1,
next => 0
},
endserver => {
name => N('Congratulations'),
- data => [ { label => N('The wizard successfully configured Your machine to be a nis+autofs Server.') } ],
+ data => [ { label => N('The wizard successfully configured your machine to be a NIS with autofs map.') } ],
no_back => 1,
end => 1,
next => 0