![]() |
-----Messaggio originale----- Da: Lee Howard [mailto:faxguy@xxxxxxxxxxxxxxxx] Inviato: venerdì 25 giugno 2010 07:06 A: max Cc: hylafax-users@xxxxxxxxxxx Oggetto: Re: R: [hylafax-users] sorting based on tty max wrote: > What do you mean by " run the bin/faxrcvd command line as-given in the > session log"? > Do you mean perhaps that after EVERY modification of this file there is a > command > to launch to finalize all operations? No. I mean you can manually simulate the operation that goes on automatically with fax reception simply by re-running the command as-seen in the session log from the /var/spool/hylafax directory. This will allow you to see if you have any error in your scripting. But if that works, and then it does not work automatically when a fax is received, then it generally means that there is some kind of permissions problem (as faxgetty/faxrcvd does not typically run with root privs). Thanks, Lee. Found... [root@backup hylafax]# /var/spool/hylafax/bin/faxrcvd "recvq/fax000000011.tif" "ttyS1" "000000014" "" FILE 1: recvq/fax000000011.tif Converting recvq/fax000000011.tif to PDF Using tiff2pdf cp: impossibile creare il file normale `recvq_$DEVICE/fax000000011.tif': No such file or directory Notice that the script isn't able to make the correct substitution for the variable DEVICE And this is due to ' (quote) character inside NEWFILE definition that deny variable substitution NEWFILE=`echo $FILE | sed 's/recvq/recvq_$DEVICE/g' `; How can I do? Thanks Regards. ____________________ 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@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*