WEDGED(${MANNUM1_8})

NAME
wedged - HylaFAX modem wedged script

SYNOPSIS
${SPOOL}/bin/wedged devid device

DESCRIPTION
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 MaxSetupAttempts configuration parameter described in hylafax-config(${MANNUM4_5}). The default wedged script sends electronic mail to the FaxMaster alias. The interval at which emails are sent can be configured in the 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 etc/FaxWedged then the script will attempt to disable any faxgetty processes spawned by the init(${MANNUM1_8}) process for the problematic modem. In addition the faxq(${MANNUM1_8}) process automatically disables use of the modem for servicing outbound jobs.

The devid argument is the identifier derived from the name of the modem's device file by substituting ``_'' characters for ``/'' characters; e.g. term_10 for /dev/term/10. The device argument is the name of the character special device associated with the modem.

If there exists an executable file ${SPOOL}/etc/resetmodem then that file will be executed (with the device name as the only argument) upon execution of the wedged script in an effort to recover the modem.

FILES
${SENDMAIL}	for delivering mail

SEE ALSO
faxq(${MANNUM1_8}), hylafax-config(${MANNUM4_5})