diff options
Diffstat (limited to 'nisautofs_wizard/Nisautofs.pm')
-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"), |