HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] faxaddmodem won't see the modem



On Wed, Apr 04, 2001 at 11:09:47PM +1000, Robert Colquhoun wrote:
> At 02:38 PM 4/4/01 +0200, Eric Veldhuyzen wrote:

[...]

> >This puts somthing like this (processnumbers change) into the background:
> >
> >/usr/local/sbin/ondelay /dev/ttyS1 /bin/bash -c "/bin/stty clocal && \
> >         exec /bin/cat -u /dev/ttyS1 >/tmp/.faxaddmodem20344/addmodem20344"
> >
> >and it saves the process id of this command in $catpid to be able to
> >kill it later.
> 
> Maybe i am missing something but if that exits straight away doesn't that 
> mean the '/bin/stty clocal' has failed?

No, in that case the '$OUT' file would not have been created, but in this case
it is created, it is just an empty file.

-- 
#!perl #                       Life ain't fair, but root passwords help.
# Eric Veldhuyzen                              eric@terra.telemediair.nl
$!=$;=$_+(++$_);($:,$~,$/,$^,$*,$@)=$!=~                   # Perl Monger
/.(.)...(.)(.)....(.)..(.)..(.)/;`$^$~$/$: $^$*$@$~ $_>&$;`


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions