Hylafax Developers Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-devel] stty errors patch
Here is a patch for the stty errors when running faxaddmodem on linux/
*** hylafax/etc/faxaddmodem.sh.in.old Thu Jul 15 03:48:43 1999
--- hylafax/etc/faxaddmodem.sh.in Fri Jun 2 18:20:02 2000
***************
*** 770,776 ****
{
COMMAND=$*
sleep 1 # wait for previous kill
! onDev $STTY 0; sleep 1 # reset the modem (hopefully)
# start listening for output
onDev -c "$STTY clocal && exec $CAT $tdev"; sleep 2
#
--- 770,779 ----
{
COMMAND=$*
sleep 1 # wait for previous kill
! case $TARGET in
! *-linux*) ;;
! *) onDev $STTY 0; sleep 1 ;; # reset the modem (hopefully)
! esac
# start listening for output
onDev -c "$STTY clocal && exec $CAT $tdev"; sleep 2
#
*** hylafax/etc/faxsetup.sh.in.old Thu Aug 5 19:47:55 1999
--- hylafax/etc/faxsetup.sh.in Fri Jun 2 18:20:02 2000
***************
*** 152,157 ****
--- 152,158 ----
SPOOL DIR_SPOOL
SYSVINIT
TIFFBIN
+ TARGET
UUCP_LOCKDIR DIR_LOCKS
UUCP_LOCKTYPE LOCKS"
***************
*** 433,439 ****
elif [ -f /etc/pwconv ]; then # could be a SCO box
addPasswd()
{
! echo "${1}:NOLOGIN:${2}:${3}:Facsimile Agent:${4}:" >> ${PASSWD}
/etc/pwconv
}
lockPasswd()
--- 434,440 ----
elif [ -f /etc/pwconv ]; then # could be a SCO box
addPasswd()
{
! echo "${1}:NOLOGIN:${2}:${3}:Facsimile Agent:${4}:/bin/false" >> ${PASSWD}
/etc/pwconv
}
lockPasswd()
--
Tim Rice Multitalents (707) 874-1130
tim@trr.metro.net