summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer/main.pm')
-rw-r--r--perl-install/printer/main.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm
index 951e6734a..808c8f6e5 100644
--- a/perl-install/printer/main.pm
+++ b/perl-install/printer/main.pm
@@ -756,16 +756,16 @@ sub get_auto_admin {
my ($printer) = @_;
$printer->{enablequeuesonnewprinter} =
(!defined($sysconfig{ENABLE_QUEUES_ON_PRINTER_CONNECTED}) ||
- ($sysconfig{ENABLE_QUEUES_ON_PRINTER_CONNECTED} =~ /yes/i) ?
- 1 : 0);
+ ($sysconfig{ENABLE_QUEUES_ON_PRINTER_CONNECTED} =~ /no/i) ?
+ 0 : 1);
$printer->{autoqueuesetuponnewprinter} =
(!defined($sysconfig{AUTO_SETUP_QUEUES_ON_PRINTER_CONNECTED}) ||
($sysconfig{AUTO_SETUP_QUEUES_ON_PRINTER_CONNECTED} =~ /yes/i) ?
1 : 0);
$printer->{enablequeuesonspoolerstart} =
(!defined($sysconfig{ENABLE_QUEUES_ON_SPOOLER_START}) ||
- ($sysconfig{ENABLE_QUEUES_ON_SPOOLER_START} =~ /yes/i) ?
- 1 : 0);
+ ($sysconfig{ENABLE_QUEUES_ON_SPOOLER_START} =~ /no/i) ?
+ 0 : 1);
$printer->{autoqueuesetuponspoolerstart} =
(!defined($sysconfig{AUTO_SETUP_QUEUES_ON_SPOOLER_START}) ||
($sysconfig{AUTO_SETUP_QUEUES_ON_SPOOLER_START} =~ /yes/i) ?