mirror of
https://github.com/nikdoof/cups-avahi-airprint.git
synced 2025-12-11 17:02:21 +00:00
Merge pull request #11 from Mowee/master
Change cupsd default conf file location
This commit is contained in:
@@ -30,6 +30,10 @@ if [ `ls -l /config/printers.conf 2>/dev/null | wc -l` -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
cp /config/printers.conf /etc/cups/printers.conf
|
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
|
/usr/sbin/avahi-daemon --daemonize
|
||||||
/root/printer-update.sh &
|
/root/printer-update.sh &
|
||||||
exec /usr/sbin/cupsd -f
|
exec /usr/sbin/cupsd -f -c /config/cupsd.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user