- Timestamp:
- Aug 26, 2006, 7:53:37 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- 835bc14
- Parents:
- c86c774
- Location:
- package/cups
- Files:
-
- 1 added
- 2 edited
-
files/cupsd.init (modified) (1 diff)
-
files/etc/cups/cupsd.conf (modified) (3 diffs)
-
ipkg/cups.postinst (added)
Legend:
- Unmodified
- Added
- Removed
-
package/cups/files/cupsd.init
rc86c774 rc92444e 1 1 #!/bin/sh 2 mkdir -p /tmp/cups 3 mkdir -p /tmp/spool/cups/tmp 4 exec /usr/sbin/cupsd 2 3 . /etc/rc.conf 4 5 case $1 in 6 autostart) 7 test x"$cups" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 [ -d /tmp/cups ] || mkdir -p /tmp/cups 12 [ -d /tmp/spool/cups/tmp ] || mkdir -p /tmp/spool/cups/tmp 13 /usr/sbin/cupsd 14 ;; 15 stop) 16 killall cupsd 17 ;; 18 restart) 19 $0 stop 20 $0 start 21 ;; 22 *) 23 echo "Usage: $0 {start | stop | restart}" 24 ;; 25 esac 26 exit 0 27 -
package/cups/files/etc/cups/cupsd.conf
rc86c774 rc92444e 1 ########################################################################2 # #3 # This is the CUPS configuration file. If you are familiar with #4 # Apache or any of the other popular web servers, we've followed the #5 # same format. Any configuration variable used here has the same #6 # semantics as the corresponding variable in Apache. If we need #7 # different functionality then a different name is used to avoid #8 # confusion... #9 # #10 ########################################################################11 12 13 1 AccessLog syslog 14 2 ErrorLog syslog … … 20 8 MaxJobs 25 21 9 MaxPrinterHistory 10 22 #Printcap /etc/printcap23 #PrintcapFormat BSD24 10 RequestRoot /tmp/cups 25 #RemoteRoot remroot 26 User root 27 Group root 11 User cups 12 Group cups 28 13 RIPCache 512k 29 14 TempDir /tmp/cups … … 44 29 AuthType Basic 45 30 AuthClass System 46 47 31 Order Allow,Deny 48 32 Allow From All
Note:
See TracChangeset
for help on using the changeset viewer.
