diff options
author | Antoine Ginies <aginies@mandriva.com> | 2005-09-07 09:29:42 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2005-09-07 09:29:42 +0000 |
commit | 208d67b97178d93704a33149a15e3e2cf52af2c3 (patch) | |
tree | f9bc9f711fd9a7ab3d89424c7adf0e8337d2c503 /nisautofs_wizard | |
parent | 3930a5796f7786004be243cbafb5d37d9442f8ec (diff) | |
download | drakwizard-208d67b97178d93704a33149a15e3e2cf52af2c3.tar drakwizard-208d67b97178d93704a33149a15e3e2cf52af2c3.tar.gz drakwizard-208d67b97178d93704a33149a15e3e2cf52af2c3.tar.bz2 drakwizard-208d67b97178d93704a33149a15e3e2cf52af2c3.tar.xz drakwizard-208d67b97178d93704a33149a15e3e2cf52af2c3.zip |
test nisdomainame value, fix missing banner
Diffstat (limited to 'nisautofs_wizard')
-rw-r--r-- | nisautofs_wizard/Nisautofs.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nisautofs_wizard/Nisautofs.pm b/nisautofs_wizard/Nisautofs.pm index b85a628c..0f9229e6 100644 --- a/nisautofs_wizard/Nisautofs.pm +++ b/nisautofs_wizard/Nisautofs.pm @@ -64,7 +64,7 @@ my $o = { test_host_domain($HOST, $NISDOMAIN); }, }; - +$::Wizard_pix_up = "/usr/share/mcc/themes/default/nisautofs.png"; $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("Users automatically mount their home directory from server, when they log on a NIS client computer network."), @@ -84,8 +84,8 @@ $o->{pages} = { mkdir_p($o->{var}{HOMENIS}); } elsif (!-d $o->{var}{HOMENIS}) { $::in->ask_warn(N("Warning"), N("Directory doesn't exist. Please create it manually.")); - return 0; - } + return 0; } + if ($o->{var}{NISDOMAIN} eq '(none)' || !$o->{var}{NISDOMAIN}) { return 'error_nisd' } }, next => 'summaryserver', }, @@ -106,8 +106,8 @@ $o->{pages} = { }, error_nisd => { name => N("Error: nisdomainname should not be 'none' or 'localdomain'.") . "\n\n" . N("Please adjust it."), - end => 1, - next => 0, + no_back => 1, + next => 'nis_server', }, endserver => { name => N("Congratulations"), |