Changeset 1549 for pykota/trunk/bin

Show
Ignore:
Timestamp:
06/18/04 19:02:19 (20 years ago)
Author:
jalet
Message:

Fixed problem with Power Save mode on some printers

Files:
1 modified

Legend:

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

    r1528 r1549  
    3232 
    3333# In any case, wait until the printer is idle again. 
    34 until snmpget -v1 -c public -Ov $1 HOST-RESOURCES-MIB::hrPrinterStatus.1 | grep -i idle >/dev/null ; do  
     34until snmpget -v1 -c public -Ov $1 HOST-RESOURCES-MIB::hrPrinterStatus.1 | grep -i -e "idle" -e "other" >/dev/null ; do  
    3535  sleep 1 ; 
    3636done