packages/net/cups/files/etc/cups/cupsd.conf
florian 754ce8a42f By default OpenWRT's /var is a symlink to /tmp.
This is unusual under GNU/Linux but justified by the unusual
circumstances of limited flash space and lifetime. But there is
no reason for OpenWRT packages to presume that /tmp and /var
are always interchangeable.

The patch below fixes the cups package so that it behaves better
when used on a system with a proper /var area.

Signed-off-by: Stefan Monnier <monnier@iro.umontreal.ca>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@14303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-31 13:51:12 +00:00

51 lines
1.3 KiB
Plaintext

########################################################################
# #
# This is the CUPS configuration file. If you are familiar with #
# Apache or any of the other popular web servers, we've followed the #
# same format. Any configuration variable used here has the same #
# semantics as the corresponding variable in Apache. If we need #
# different functionality then a different name is used to avoid #
# confusion... #
# #
########################################################################
AccessLog syslog
ErrorLog syslog
LogLevel info
PageLog syslog
PreserveJobHistory No
PreserveJobFiles No
AutoPurgeJobs Yes
MaxJobs 25
MaxPrinterHistory 10
#Printcap /etc/printcap
#PrintcapFormat BSD
RequestRoot /var/cups
#RemoteRoot remroot
User root
Group root
RIPCache 512k
TempDir /var/cups
Port 631
HostNameLookups Off
KeepAlive On
Browsing On
BrowseProtocols cups
<Location />
AuthType Basic
AuthClass System
Order Allow,Deny
Allow From All
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Allow,Deny
Allow From All
</Location>