No subject


Fri Feb 17 02:32:51 UTC 2012


from line 244
	    if [ \( -z "${STATE}" -o "${STATE}" != "${LAB}" -o "${OK}" = y
\) \
		    -a "${VALUE}" "-${TST}" "${LIM}" ] ; then
		R="${CMT} [${PROGNAME}:${LAB}] ${VALUE} ${TST} ${LIM}"
		O=
		case "${CMD}" in
		throttle)
		    case "${STATE}" in
		    ''|go)
			REASON="${R}"
			;;
		    *)
			;;
		    esac
		    O="${LAB}"
		    ARG="${REASON}"
		    ;;
		pause)
		    O="${LAB}"
		    REASON="${R}"
		    ARG="${REASON}"
		    ;;
		shutdown)
		    ARG="${R}"
		    ;;
		flush)
		    ARG=''
		    O="${STATE}"
		    ARG="${REASON}"
		    ;;
		go)
		    ARG="${REASON}"
		    NEXTSLEEP=1
		    REASON=''
		    ;;
		exit)
		    exit 0
		    ;;
		*)
		    break
		    ;;
		esac

		ctlinnd -s "${CMD}" "${ARG}" && STATE="${O}" &&
INND="${CMD}"
		break
from line 291
	    ##  Otherwise, if innd is not running, and reverse test succeeds
	    ##  restart it.
	    elif [ "${STATE}" = "${LAB}" -a \
		    \( "${CMD}" = "throttle" -o "${CMD}" = pause \) -a \
		    ! "${VALUE}" "-${TST}" "${LIM}" ] ; then
		ctlinnd -s go "${REASON}"
		STATE=''
		REASON=''
		INND=''

both deal for the scrips is taken from the file

>
>
> Incidentally, it's best to copy-and-paste error messages and
> filenames instead of retyping them.  The exact details can matter.
>
The error messages is only come on the monitor and not in any log file.

--
Gert Andersen
gert at kofo.org





More information about the inn-workers mailing list