diff options
author | Antoine Ginies <aginies@mandriva.com> | 2004-01-20 17:50:51 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2004-01-20 17:50:51 +0000 |
commit | 6ace92b35adc92d0642bba9a987b853694cd3b16 (patch) | |
tree | 56a04ff5a4a214669b1822e8e89af64a73ea1d43 | |
parent | 80696bc5a5259acc2e37ded6991a34dfc34316ca (diff) | |
download | drakwizard-6ace92b35adc92d0642bba9a987b853694cd3b16.tar drakwizard-6ace92b35adc92d0642bba9a987b853694cd3b16.tar.gz drakwizard-6ace92b35adc92d0642bba9a987b853694cd3b16.tar.bz2 drakwizard-6ace92b35adc92d0642bba9a987b853694cd3b16.tar.xz drakwizard-6ace92b35adc92d0642bba9a987b853694cd3b16.zip |
- fix typo in waiting screen
- fix pb of nisdomainname check
-rw-r--r-- | nisautofs_wizard/Nisautofs.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nisautofs_wizard/Nisautofs.pm b/nisautofs_wizard/Nisautofs.pm index d18080bf..7d9b1fc9 100644 --- a/nisautofs_wizard/Nisautofs.pm +++ b/nisautofs_wizard/Nisautofs.pm @@ -67,13 +67,13 @@ my $o = { }; my %level = ( - 1 => N("Nis Server - Setup configuration NIS + Autofs(nfs) server"), - 2 => N("Nis Client - Setup a Nis Client"), + 1 => N("NIS Server with autofs map"), + 2 => N("NIS Client"), ); $o->{pages} = { welcome => { - 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.'), + 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) { @@ -291,16 +291,16 @@ sub update_nsswitch { sub uninstall_rpm { my ($rpm) = @_; - system("urpme $rpm") if (system('/bin/rpm', '>/dev/null', '-q', $rpm)); + system("urpme $rpm --auto");# if (system('/bin/rpm', '>/dev/null', '-q', $rpm)); } sub do_it_server { return if $::testing; my $in = 'interactive'->vnew('su', 'nisautofsconfig'); - my $w = $in->wait_message(N("Nis+autofs Server"), N("Configuring your system as a Nis+Autofs(nfs) server ...")); + my $w = $in->wait_message(N("NIS with autofs map"), N("Configuring your system to be a NIS server with Autofs map...")); # system("urpme --auto autofs") if (system("/bin/rpm -q autofs >/dev/null")); uninstall_rpm('autofs'); - system("urpmi --auto-select ypserv"); + system("urpmi --auto --auto-select ypserv"); needed_service('ypserv'); # configure autofs to fit nis configure_auto(); |