Show
Ignore:
Timestamp:
03/16/04 13:05:02 (20 years ago)
Author:
jalet
Message:

Small fix for new waitprinter.sh : when job was denied, would wait forever
for printer being in printing mode.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/waitprinter.sh

    r1398 r1405  
    2424# the printer would effectively never print again if the previous job 
    2525# was already fully printed. 
    26 if [ x$PYKOTAPHASE == "xAFTER" ]; then 
     26if [ x$PYKOTAACTION != "xDENY" ] && [ x$PYKOTAPHASE == "xAFTER" ]; then 
    2727  until snmpget -v1 -c public -Ov $1 HOST-RESOURCES-MIB::hrPrinterStatus.1 | grep -i printing >/dev/null; do 
    2828   sleep 1 ;