---
name: "wedged"
section: "8"
platform: "linux"
package: "hylafax-server"
version: "3:6.0.7-11.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/wedged"
---

# wedged(8)

HylaFAX modem wedged script

## NAME

wedged - *HylaFAX* modem wedged script

## SYNOPSIS

**/var/spool/hylafax/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*(5)](/hylafax-config/5.md). The default *wedged* script sends electronic mail to the FaxMaster alias. The interval at which emails are sent can be configured in the **etc/FaxDispatch** 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/FaxDispatch** then the script will attempt to disable any faxgetty processes spawned by the [*init*(8)](/init/8.md) process for the problematic modem. In addition the [*faxq*(8)](/faxq/8.md) 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  **/var/spool/hylafax/etc/resetmodem** then that file will be executed upon execution of the *wedged* script in an effort to recover the modem.

## FILES

```
/usr/lib/sendmail	for delivering mail
```

## SEE ALSO

[*faxq*(8)](/faxq/8.md), [*hylafax-config*(5)](/hylafax-config/5.md)
