wedged.1m
上传用户:weiyuanprp
上传日期:2020-05-20
资源大小:1169k
文件大小:3k
- ." $Id: wedged.1m,v 1.4 2007/09/03 19:23:48 faxguy Exp $
- ."
- ." HylaFAX Facsimile Software
- ."
- ." Copyright (c) 1994 Sam Leffler
- ." Copyright (c) 1994 Silicon Graphics, Inc.
- ."
- ." Permission to use, copy, modify, distribute, and sell this software and
- ." its documentation for any purpose is hereby granted without fee, provided
- ." that (i) the above copyright notices and this permission notice appear in
- ." all copies of the software and related documentation, and (ii) the names of
- ." Sam Leffler and Silicon Graphics may not be used in any advertising or
- ." publicity relating to the software without the specific, prior written
- ." permission of Sam Leffler and Silicon Graphics.
- ."
- ." THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
- ." EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
- ." WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
- ."
- ." IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
- ." ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
- ." OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
- ." WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
- ." LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
- ." OF THIS SOFTWARE.
- ."
- .if n .po 0
- .ds Fx fIHylas-1FAXs+1fP
- .TH WEDGED ${MANNUM1_8} "October 3, 1995"
- .SH NAME
- wedged - *(Fx modem wedged script
- .SH SYNOPSIS
- .B ${SPOOL}/bin/wedged
- .I devid
- .I device
- .SH DESCRIPTION
- .B bin/wedged
- is the command script invoked by the facsimile server when a modem
- is deemed to be in an irreparable state and requires operator intervention.
- This decision is based on the setting of the
- .B MaxSetupAttempts
- configuration parameter described in
- .IR hylafax-config (${MANNUM4_5}).
- The default
- .I wedged
- script sends electronic mail to the FaxMaster alias. The interval at which
- emails are sent can be configured in the
- .B etc/FaxWedged
- file by setting the WEDGED_EMAIL_INTERVAL variable to the desired number
- of minutes (emails will be sent no more than every WEDGED_EMAIL_INTERVAL
- minutes, until the wedged condition persists).
- If the variable WEDGED_DISABLE_FAXGETTY is set in
- .B etc/FaxWedged
- then the script will attempt to disable any faxgetty processes spawned by the
- .IR init (${MANNUM1_8})
- process for the problematic modem.
- In addition the
- .IR faxq (${MANNUM1_8})
- process automatically disables use of the modem for servicing
- outbound jobs.
- .P
- The
- .I devid
- argument is the identifier derived from the name of the modem's
- device file by substituting ``_'' characters for ``/'' characters;
- e.g.
- .I term_10
- for
- .IR /dev/term/10 .
- The
- .I device
- argument is the name of the character special device
- associated with the modem.
- .P
- If there exists an executable file
- .B ${SPOOL}/etc/resetmodem
- then that file will be executed (with the device name as the only
- argument) upon execution of
- the
- .I wedged
- script in an effort to recover the modem.
- .SH FILES
- .nf
- .ta w'${SENDMAIL} 'u
- ${SENDMAIL} for delivering mail
- .fi
- .SH "SEE ALSO"
- .IR faxq (${MANNUM1_8}),
- .IR hylafax-config (${MANNUM4_5})