From d3e4391fdeaeb37d7270289cb65a6a70cbcc8bfc Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 6 May 2020 22:51:39 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- .etckeeper | 4 ++++ cups/printers.conf | 3 +++ cups/printers.conf.O | 23 +++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 cups/printers.conf create mode 100644 cups/printers.conf.O diff --git a/.etckeeper b/.etckeeper index 7dfe9d8..cbc5622 100755 --- a/.etckeeper +++ b/.etckeeper @@ -1137,6 +1137,10 @@ maybe chmod 0644 'cups/cupsd.conf' maybe chmod 0755 'cups/interfaces' maybe chgrp 'lp' 'cups/ppd' maybe chmod 0755 'cups/ppd' +maybe chgrp 'lp' 'cups/printers.conf' +maybe chmod 0600 'cups/printers.conf' +maybe chgrp 'lp' 'cups/printers.conf.O' +maybe chmod 0600 'cups/printers.conf.O' maybe chmod 0644 'cups/raw.convs' maybe chmod 0644 'cups/raw.types' maybe chmod 0644 'cups/snmp.conf' diff --git a/cups/printers.conf b/cups/printers.conf new file mode 100644 index 0000000..ce86cb7 --- /dev/null +++ b/cups/printers.conf @@ -0,0 +1,3 @@ +# Printer configuration file for CUPS v2.2.7 +# Written by cupsd +# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING diff --git a/cups/printers.conf.O b/cups/printers.conf.O new file mode 100644 index 0000000..2d9c2b9 --- /dev/null +++ b/cups/printers.conf.O @@ -0,0 +1,23 @@ +# Printer configuration file for CUPS v2.2.7 +# Written by cupsd +# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING + +UUID urn:uuid:c52690eb-1cd9-394f-7971-b44af12f7cd3 +Info +Location +MakeModel Color LaserJet MFP M277dw +DeviceURI ipp://NPI28CAA8.local:631/ipp/print +State Idle +StateTime 1588778353 +ConfigTime 1588778357 +Type 4188 +Accepting Yes +Shared No +JobSheets none none +QuotaPeriod 0 +PageLimit 0 +KLimit 0 +OpPolicy default +ErrorPolicy retry-job +Option cups-browsed true + -- 2.39.5