Changed qdaemon test

This commit is contained in:
mboelen 2014-10-21 00:03:42 +02:00
parent 067360db1b
commit 75c2d0ab15
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@
QDAEMON_CONFIG_FILE="/etc/qconfig"
FileIsReadable ${QDAEMON_CONFIG_FILE}
if [ ${CANREAD} -eq 1 ]; then
FIND=`grep -cv "^\*" ${QDAEMON_CONFIG_FILE} | egrep "backend|device"`
FIND=`grep -v "^\*" ${QDAEMON_CONFIG_FILE} | egrep "backend|device"`
if [ ! "${FIND}" = "" ]; then
logtext "Result: printers are defined in ${QDAEMON_CONFIG_FILE}"
Display --indent 2 --text "- Checking /etc/qconfig file" --result FOUND --color GREEN