Change cupsd default conf file location

This commit is contained in:
Moritz Wörle
2022-08-04 17:37:02 +02:00
parent 8de7aaf31d
commit c5d2e083bf

View File

@@ -30,6 +30,10 @@ if [ `ls -l /config/printers.conf 2>/dev/null | wc -l` -eq 0 ]; then
fi
cp /config/printers.conf /etc/cups/printers.conf
if [ `ls -l /config/cupsd.conf 2>/dev/null | wc -l` -eq 0 ]; then
cp /etc/cups/cupsd.conf /config/cupsd.conf
fi
/usr/sbin/avahi-daemon --daemonize
/root/printer-update.sh &
exec /usr/sbin/cupsd -f
exec /usr/sbin/cupsd -f -c /config/cupsd.conf