From f43a44791a9feb69869d72cfdb47638b1f34f36a Mon Sep 17 00:00:00 2001 From: chuckcharlie Date: Mon, 17 Oct 2022 10:47:45 -0600 Subject: [PATCH] Save cupsd.conf file in config directory --- root/root/printer-update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/root/root/printer-update.sh b/root/root/printer-update.sh index 3735e58..466a9fa 100644 --- a/root/root/printer-update.sh +++ b/root/root/printer-update.sh @@ -7,4 +7,7 @@ while read -r directory events filename; do cp /etc/cups/printers.conf /config/printers.conf rsync -avh /services/ /etc/avahi/services/ fi + if [ "$filename" = "cupsd.conf" ]; then + cp /etc/cups/cupsd.conf /config/cupsd.conf + fi done