#!/bin/sh STATUS=$(/sbin/e-smith/db configuration getprop iaxmodem status || echo disabled) if [ "$STATUS" != "enabled" ]; then sv d . fi if [ \!-p /var/spool/hylafax/FIFO.ttyIAX ]; then mkfifo /var/spool/hylafax/FIFO.ttyIAX chown uucp:uucp /var/spool/hylafax/FIFO.ttyIAX chmod 660 /var/spool/hylafax/FIFO.ttyIAX fi exec /usr/sbin/faxgetty ttyIAX