Changeset 1345 for pykota/trunk/conf

Show
Ignore:
Timestamp:
02/12/04 23:43:58 (21 years ago)
Author:
jalet
Message:

Better integration in Debian and more LSB compliance, thanks to
Peter Hawkins.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/conf/pykota.conf.sample

    r1337 r1345  
    241241# or more simply : 
    242242# 
    243 #       mailto: external(/usr/bin/mailandpopup.sh %(username)s %(printername)s "%(email)s" "%(message)s" 2>&1 >/dev/null) 
     243#       mailto: external(/usr/share/pykota/mailandpopup.sh %(username)s %(printername)s "%(email)s" "%(message)s" 2>&1 >/dev/null) 
    244244# 
    245245#   NB : The mailandpopup.sh shell script is now included in PyKota 
     
    327327# pagecount.ps file from untested/netatalk into /etc or any  
    328328# appropriate location) 
    329 #     requester: external(/usr/bin/papwaitprinter.sh "MyPrinter:LaserWriter@*" && /usr/bin/pap -p "MyPrinter:LaserWriter@*" /etc/pagecount.ps  2>/dev/null | grep -v status | grep -v Connect | tail -1) 
     329#     requester: external(/usr/share/pykota/papwaitprinter.sh "MyPrinter:LaserWriter@*" && /usr/bin/pap -p "MyPrinter:LaserWriter@*" /usr/share/pykota/pagecount.ps  2>/dev/null | /bin/grep -v status | /bin/grep -v Connect | /usr/bin/tail -1) 
    330330# 
    331331# An example for parallel printers like the HP Laserjet 5MP : 
    332332# 
    333 #     requester: external(/bin/cat /usr/share/pykota/untested/pjl/pagecount.pjl >/dev/lp0 && /usr/bin/head -2 </dev/lp0 | /usr/bin/tail -1) 
     333#     requester: external(/bin/cat /usr/share/pykota/pagecount.pjl >/dev/lp0 && /usr/bin/head -2 </dev/lp0 | /usr/bin/tail -1) 
    334334#  
    335335#  
     
    360360# server on port 9100 : 
    361361# 
    362 # requester: external(/bin/nc -w 2 %(printer)s 9100 <pagecount.pjl | /usr/bin/tail -2) 
     362# requester: external(/bin/nc -w 2 %(printer)s 9100 </usr/share/pykota/pagecount.pjl | /usr/bin/tail -2) 
    363363# 
    364364# 
     
    366366# the same as above, but should work on more printers :  
    367367# 
    368 # requester: external(/usr/bin/pagecount.pl %(printer)s 9100) 
     368# requester: external(/usr/share/pykota/pagecount.pl %(printer)s 9100) 
    369369# 
    370370# 
     
    376376# not yet finished (not all pages are printed, but the complete job is in  
    377377# the printer) 
    378 requester: external(/usr/bin/waitprinter.sh %(printer)s && /usr/bin/snmpget -v1 -c public -Ov %(printer)s mib-2.43.10.2.1.4.1.1 | cut -f 2,2 -d " ") 
     378requester: external(/usr/share/pykota/waitprinter.sh %(printer)s && /usr/bin/snmpget -v1 -c public -Ov %(printer)s mib-2.43.10.2.1.4.1.1 | cut -f 2,2 -d " ") 
    379379 
    380380# Default policy for inexistant users (e.g. root)