![]() |
On Tue, 18 Jun 2002 09:52:16 +0000, "Daten Tod" <datentod@hotmail.com> wrote: >with no results. The only lame solution I could come up with is to use cron >to kill all hylafax proccesses, remove the config.cuaa1 file from /etc/ and >modify /etc/ttys. Restart Hylafax & ttys. Then 8 hours later reverse the >proccess. > I've a similar setup. The broadcast modems are not managed by faxgetty. With cron I on/off the 2 modems. #!/bin/sh FAXMODEM=/usr/sbin/faxmodem FAXSTATE=/usr/sbin/faxstate if [ "$1" = "on" ]; then $FAXMODEM -u 202 -c '(0,1),(0-5),(0-4),(0-2),(0,1),(0),(0),(0-7)' ttyS1 $FAXMODEM -u 203 -c '(0,1),(0-5),(0-4),(0-2),(0,1),(0),(0),(0-7)' ttyS0 $FAXSTATE -s ready -n ttyS1 $FAXSTATE -s ready -n ttyS0 elif [ "$1" = "off" ]; then $FAXSTATE -s down -n ttyS1 $FAXSTATE -s down -n ttyS0 else echo "$0 [on | off]" exit 1 fi faxgetty would reinit the modem and sets it ready. -- giulioo@pobox.com ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null