root / pykota / trunk / bin / waitprinter.sh @ 1095

Revision 1095, 0.6 kB (checked in by jalet, 21 years ago)

waitprinter.sh is now included to prevent PyKota from asking the
printer's internal page counter while a job is still being printer.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1#! /bin/sh
2#
3# PyKota - Print Quotas for CUPS and LPRng
4#
5# (c) 2003 Jerome Alet <alet@librelogiciel.com>
6# You're welcome to redistribute this software under the
7# terms of the GNU General Public Licence version 2.0
8# or, at your option, any higher version.
9#
10# You can read the complete GNU GPL in the file COPYING
11# which should come along with this software, or visit
12# the Free Software Foundation's WEB site http://www.fsf.org
13#
14# $Id$
15#
16
17until snmpget -v1 -c public -Ov $1 HOST-RESOURCES-MIB::hrPrinterStatus.1 | grep -vi printing >/dev/null ; do
18   sleep 1 ; 
19done
Note: See TracBrowser for help on using the browser.