diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-03-23 21:18:15 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-03-23 21:18:15 +0000 |
commit | c4329d081f266a0ddf29fdbb5e709fcf065ea9ac (patch) | |
tree | fbb9cb3d083a4ad87f1370223fda8b0046a1f83f /openwrt/package/cups/files/etc | |
parent | 7bf482253faf075f55556b69a3908f1c859d8322 (diff) |
add cups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@436 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/cups/files/etc')
-rw-r--r-- | openwrt/package/cups/files/etc/cups/classes.conf | 7 | ||||
-rw-r--r-- | openwrt/package/cups/files/etc/cups/client.conf | 9 | ||||
-rw-r--r-- | openwrt/package/cups/files/etc/cups/cupsd.conf | 50 | ||||
-rw-r--r-- | openwrt/package/cups/files/etc/cups/printers.conf | 23 | ||||
-rwxr-xr-x | openwrt/package/cups/files/etc/init.d/S60cups | 4 |
5 files changed, 93 insertions, 0 deletions
diff --git a/openwrt/package/cups/files/etc/cups/classes.conf b/openwrt/package/cups/files/etc/cups/classes.conf new file mode 100644 index 000000000..15afda75a --- /dev/null +++ b/openwrt/package/cups/files/etc/cups/classes.conf @@ -0,0 +1,7 @@ +######################################################################## +# # +# This is a sample class configuration file. This file is included # +# from the main configuration file (cups.conf) and lists all of the # +# printer classes known to the system. # +# # +######################################################################## diff --git a/openwrt/package/cups/files/etc/cups/client.conf b/openwrt/package/cups/files/etc/cups/client.conf new file mode 100644 index 000000000..c8d9f910e --- /dev/null +++ b/openwrt/package/cups/files/etc/cups/client.conf @@ -0,0 +1,9 @@ +######################################################################## +# # +# This is the CUPS client configuration file. This file is used to # +# define client-specific parameters, such as the default server or # +# default encryption settings. # +# # +######################################################################## + +Encryption Never diff --git a/openwrt/package/cups/files/etc/cups/cupsd.conf b/openwrt/package/cups/files/etc/cups/cupsd.conf new file mode 100644 index 000000000..e84de453b --- /dev/null +++ b/openwrt/package/cups/files/etc/cups/cupsd.conf @@ -0,0 +1,50 @@ +######################################################################## +# # +# 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 /tmp/cups +#RemoteRoot remroot +User root +Group root +RIPCache 512k +TempDir /tmp/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> + diff --git a/openwrt/package/cups/files/etc/cups/printers.conf b/openwrt/package/cups/files/etc/cups/printers.conf new file mode 100644 index 000000000..a3bce1d01 --- /dev/null +++ b/openwrt/package/cups/files/etc/cups/printers.conf @@ -0,0 +1,23 @@ +<DefaultPrinter USB> +Info USB Printer +Location +DeviceURI usb:/dev/usb/lp0 +State Idle +Accepting Yes +JobSheets none none +QuotaPeriod 0 +PageLimit 0 +KLimit 0 +</Printer> + +<Printer LP> +Info Parallel Port Printer +Location +DeviceURI usb:/dev/printers/0 +State Idle +Accepting Yes +JobSheets none none +QuotaPeriod 0 +PageLimit 0 +KLimit 0 +</Printer> diff --git a/openwrt/package/cups/files/etc/init.d/S60cups b/openwrt/package/cups/files/etc/init.d/S60cups new file mode 100755 index 000000000..8e5fd63c4 --- /dev/null +++ b/openwrt/package/cups/files/etc/init.d/S60cups @@ -0,0 +1,4 @@ +#!/bin/sh +mkdir -p /tmp/cups +mkdir -p /tmp/spool/cups/tmp +exec /usr/sbin/cupsd |