diff options
Diffstat (limited to 'pxe_wizard/Pxe.pm')
-rw-r--r-- | pxe_wizard/Pxe.pm | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pxe_wizard/Pxe.pm b/pxe_wizard/Pxe.pm index fb12ac5d..04c85572 100644 --- a/pxe_wizard/Pxe.pm +++ b/pxe_wizard/Pxe.pm @@ -114,11 +114,17 @@ $o->{pages} = { }, post => sub { if (! -f "$X86/drakwizard_pxe") { return 'pxeserver' } - if ($o->{var}{wiz_level} == 1) { return 'pxeserver' } - elsif ($o->{var}{wiz_level} == 4) { return 'addimgrdz' } + if ($o->{var}{wiz_level} == 1) { + return 'pxeserver'; + } elsif ($o->{var}{wiz_level} == 4) { + return 'addimgrdz'; + } @list_menu or return 'needimg'; - if ($o->{var}{wiz_level} == 2) { return 'removeimg' } - elsif ($o->{var}{wiz_level} == 3) { return 'modifyimg' } + if ($o->{var}{wiz_level} == 2) { + return 'removeimg'; + } elsif ($o->{var}{wiz_level} == 3) { + return 'modifyimg'; + } }, data => [ { label => N("What do you want to do:"), val => \$o->{var}{wiz_level}, list => [ keys %level ], format => sub { $level{$_[0]} } }, |