summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsamba_wizard/Samba.pm14
1 files changed, 7 insertions, 7 deletions
diff --git a/samba_wizard/Samba.pm b/samba_wizard/Samba.pm
index 7237079d..db8f3fe1 100755
--- a/samba_wizard/Samba.pm
+++ b/samba_wizard/Samba.pm
@@ -171,16 +171,16 @@ $o->{pages} = {
$o->{var}{wiz_read_list} ||= get_read();
$o->{var}{wiz_write_list} ||= get_write()
},
-# post => \&check_users,
+ post => \&check_printer,
data => [
{ label => N("Read list:"), help => N("root, fred, \@users, \@wheel"), val => \$o->{var}{wiz_read_list} },
{ label => N("Write list:"), help => N("root, fred, \@users, \@wheel"), val => \$o->{var}{wiz_write_list} },
],
- complete => sub {
- if ($o->{var}{wiz_do_printer_sharing} == "1") {
- return 'ask_printers'
- } else { return 'summary' }
- },
+# complete => sub {
+# if ($o->{var}{wiz_do_printer_sharing} == "1") {
+# return 'ask_printers'
+# } else { return 'summary' }
+# },
next => 'summary',
},
ask_printers => {
@@ -342,7 +342,7 @@ sub list_printers {
}
-sub check_users {
+sub check_printers {
return 'ask_printers' if $o->{var}{wiz_do_printer_sharing}
}