[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3master/usr/share/se3/scripts/ -> lenny_bug.sh (source)

   1  #!/bin/bash
   2  
   3  FOUND=0
   4  BUG=0
   5  while read line
   6  do
   7      if [ "$FOUND" == "1" ]; then
   8          echo $line|grep AuthInfoRequired >/dev/null
   9          if [ "$?" == "0" ];then
  10              BUG=1
  11          fi
  12          if [ "$line" == "</Printer>" ]; then
  13              break
  14          fi
  15      fi
  16      if [ "$line" == "<Printer $1>" ]; then
  17         FOUND=1 
  18      fi
  19  done < /etc/cups/printers.conf
  20  exit $BUG


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1