Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: faxes are sent only after running faxsetup
>after running faxsetup, all the faxes that were in the queue were sent,
>and the new faxes are sent imediatelly.
>then if i reboot the server or if i turn the modem off, the problem begins
>again.
If you have a send-only configuration, that is not running faxgetty,
you need to run faxmodem each time you start hfaxd. I've modified
the hylafax rc script to do this...
IS_ON=/etc/chkconfig # NB: chkconfig is IRIX-specific
FAXQ=$SBIN/faxq
HFAXD=$LIBEXEC/hfaxd
FAXQUIT=$SBIN/faxquit
FAXMODEM=$SBIN/faxmodem
KILLALL=/sbin/killall
FAXPORT=hylafax # designated port for new protocol
SNPPPORT=444 # official port for SNPP
ZYXEL='(0,1),(0-5),(0-2),(0-2),(0,1),(0),(0),(0-7)'
MULTI='(0-1),(0-5),(0-4),(0-2),(0),(0),(0),(0-7)'
...
if $IS_ON fax && test -x $FAXQ; then
killall -15 faxq
killall -15 hfaxd
$ECHO "HylaFAX:\c"
$FAXQ; $ECHO " faxq\c"
$HFAXD -i $FAXPORT -o 4557 -s $SNPPPORT
$ECHO " hfaxd (w/ compatibility & SNPP)\c"
$FAXMODEM -c "$MULTI" cua/b; $ECHO " faxmodem\c"
$ECHO "."
fi
--
-Gary Mills- -Unix Support- -U of M Academic Computing and Networking-