Changeset c92444e in freewrt for package


Ignore:
Timestamp:
Aug 26, 2006, 7:53:37 PM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
835bc14
Parents:
c86c774
Message:

add a specific cups user, add a startup script

git-svn-id: svn://www.freewrt.org/trunk/freewrt@544 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package/cups
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • package/cups/files/cupsd.init

    rc86c774 rc92444e  
    11#!/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
     5case $1 in
     6autostart)
     7        test x"$cups" = x"NO" && exit 0
     8        exec $0 start
     9        ;;
     10start)
     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        ;;
     15stop)
     16        killall cupsd
     17        ;;
     18restart)
     19        $0 stop
     20        $0 start
     21        ;;
     22*)
     23        echo "Usage: $0 {start | stop | restart}"
     24        ;;
     25esac
     26exit 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 
    131AccessLog syslog
    142ErrorLog syslog
     
    208MaxJobs 25
    219MaxPrinterHistory 10
    22 #Printcap /etc/printcap
    23 #PrintcapFormat BSD
    2410RequestRoot /tmp/cups
    25 #RemoteRoot remroot
    26 User root
    27 Group root
     11User cups
     12Group cups
    2813RIPCache 512k
    2914TempDir /tmp/cups
     
    4429AuthType Basic
    4530AuthClass System
    46 
    4731Order Allow,Deny
    4832Allow From All
Note: See TracChangeset for help on using the changeset viewer.