From 7c2ba9dc3028fae04165f4d22c97cc807a3d2a07 Mon Sep 17 00:00:00 2001 From: Antoine Prieels Date: Thu, 7 Mar 2019 14:16:26 +0100 Subject: [PATCH] [IMP] point_of_sale: Do not share printers to the network Add Cups configuration to not share printers to the network by default. When multiple IoTBoxes were on the same network they would share printers with each other, creating multiple duplicates of the same printer. --- .../tools/posbox/overwrite_after_init/etc/cups/cupsd.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/point_of_sale/tools/posbox/overwrite_after_init/etc/cups/cupsd.conf b/addons/point_of_sale/tools/posbox/overwrite_after_init/etc/cups/cupsd.conf index ee6cbbf93d4..cefc3cf06ab 100644 --- a/addons/point_of_sale/tools/posbox/overwrite_after_init/etc/cups/cupsd.conf +++ b/addons/point_of_sale/tools/posbox/overwrite_after_init/etc/cups/cupsd.conf @@ -20,6 +20,9 @@ Listen /run/cups/cups.sock Browsing On BrowseLocalProtocols dnssd +# Local printers are not shared by default +DefaultShared No + # Default authentication type, when authentication is required... DefaultAuthType Basic