On Sun, 2008-04-27 at 05:32 +0200, Giuseppe Sacco wrote: > (echo ; echo no; echo no)| sh -x /usr/sbin/faxsetup \ > -server 2>/tmp/fs.log Should I stop hylafax first? This is with it running. Ross
+ PATH=/bin:/usr/bin:/etc + test -d /usr/ucb + test -d /usr/bsd + test -d /usr/5bin + test -d /usr/sbin + PATH=/usr/sbin:/bin:/usr/bin:/etc + test -d /usr/local/bin + PATH=/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin + AWK=/usr/bin/mawk + CAT=/bin/cat + CHGRP=/bin/chgrp + CHMOD=/bin/chmod + CHOWN=/bin/chown + CP=/bin/cp + ECHO=/bin/echo + ENCODING= + FUSER=/bin/fuser + GREP=/bin/grep + LN=/bin/ln + LN_S=-s + MKFIFO=/usr/bin/mkfifo + MV=/bin/mv + RMCMD=/bin/rm + SCRIPT_SH=/bin/bash + SED=/bin/sed + TIFF2PDF=/usr/bin/tiff2pdf + TTYCMD=/usr/bin/tty + BASE64ENCODE= + MIMENCODE= + QPENCODE= + UUENCODE= + FAX=uucp + SERVICES=/etc/services + INETDCONF=/etc/inetd.conf + ALIASES=/etc/aliases + PASSWD=/etc/passwd + PROTOUID=uucp + defPROTOUID=3 + GROUP=/etc/group + PROTOGID=uucp + defPROTOGID=10 + VERSION=4.4.4 + DATE='Wed Apr 9 14:52:55 CEST 2008' + TARGET=i686-pc-linux-gnu + PATH_AFM=/usr/share/fonts/type1/gsfonts + DIR_BIN=/usr/bin + DIR_LIBDATA=/etc/hylafax + DIR_LIBEXEC=/usr/sbin + DIR_LOCKS=/var/lock + DIR_MAN=/usr/share/man + DIR_SBIN=/usr/sbin + DIR_SPOOL=/var/spool/hylafax + TIFFBIN=/usr/bin + LOCKS=ascii + PATH_GETTY=/etc/hylafax/getty-link + PATH_SENDMAIL=/usr/sbin/sendmail + PATH_VGETTY=/etc/hylafax/vgetty-link + PATH_EGETTY=/etc/hylafax/egetty-link + PS=gs + PATH_GSRIP=/usr/bin/gs + PATH_DPSRIP=/usr/local/sbin/ps2fax.exe + PATH_IMPRIP=/usr/bin/psrip + POSIXLY_CORRECT=1 + export POSIXLY_CORRECT + DIR_SYSVINIT=/etc/init.d + FAXQ_SERVER=yes + HFAXD_SERVER=yes + HFAXD_OLD_PROTOCOL=no + HFAXD_SNPP_SERVER=no + VARS='SCRIPT_SH FONTPATH PATH_AFM AWK BASE64ENCODE BIN DIR_BIN CAT CHGRP CHMOD CHOWN CP DPSRIP PATH_DPSRIP ECHO ENCODING FAXQ_SERVER FUSER GREP GSRIP PATH_GSRIP HFAXD_SERVER HFAXD_OLD_PROTOCOL HFAXD_SNPP_SERVER IMPRIP PATH_IMPRIP LIBDATA DIR_LIBDATA LIBEXEC DIR_LIBEXEC LN MANDIR DIR_MAN MIMENCODE MKFIFO MV PATH PATHGETTY PATH_GETTY PATHVGETTY PATH_VGETTY PATHEGETTY PATH_EGETTY PSPACKAGE PS QPENCODE RM RMCMD SBIN DIR_SBIN SED SENDMAIL PATH_SENDMAIL SPOOL DIR_SPOOL SYSVINIT TIFF2PDF TIFFBIN TARGET TTYCMD UUENCODE UUCP_LOCKDIR DIR_LOCKS UUCP_LOCKTYPE LOCKS' + '[' '!' -d /var/spool/hylafax/etc ']' + '[' -d /var/spool/hylafax/etc ']' + cp -a /etc/hylafax/config /etc/hylafax/config.sav /etc/hylafax/config.ttyS0 /etc/hylafax/cover.templ /etc/hylafax/dialrules /etc/hylafax/dialrules.europe /etc/hylafax/dialrules.sf-ba /etc/hylafax/egetty-link /etc/hylafax/faxcover.ps /etc/hylafax/faxmail.ps /etc/hylafax/FaxNotify /etc/hylafax/getty-link /etc/hylafax/hfaxd.conf /etc/hylafax/hosts.hfaxd /etc/hylafax/hyla.conf /etc/hylafax/lutRS18.pcf /etc/hylafax/pagesizes /etc/hylafax/RCS /etc/hylafax/setup.cache /etc/hylafax/setup.modem /etc/hylafax/templates /etc/hylafax/typerules /etc/hylafax/typerules~ /etc/hylafax/typerules.dpkg-dist /var/spool/hylafax/etc/ + QUIET=no + isServer=no + isClient=no + WITHARGS=no + ac_prev= + for ac_option in '"$@"' + '[' -n '' ']' + case "$ac_option" in + ac_optarg= + case "$ac_option" in + isServer=yes + '[' -n '' ']' + '[' no = no ']' + '[' yes = no ']' + '[' no = yes ']' + exec + Note '' + echo '' + Note 'Setup program for HylaFAX (tm) 4.4.4.' + echo 'Setup program for HylaFAX (tm) 4.4.4.' + Note '' + echo '' + Note 'Created for i686-pc-linux-gnu on Wed Apr 9 14:52:55 CEST 2008.' + echo 'Created for i686-pc-linux-gnu on Wed Apr 9 14:52:55 CEST 2008.' + Note '' + echo '' ++ expr i686-pc-linux-gnu : '\([^\-]*\)' + CPU=i686 ++ expr i686-pc-linux-gnu : '[^\-]*-\([^\-]*\)' + VENDOR=pc ++ expr i686-pc-linux-gnu : '[^\-]*-[^\-]*-\([a-zA-Z]*\).*' + OS=linux + RELEASE=2.6.18-6-686 ++ echo 'foo\c' + '[' 'foo\c@' = foo@ ']' ++ echo -n foo + '[' foo@ = foo@ ']' + onServer + test yes = yes + '[' -f /bin/passmgmt ']' + '[' -f /usr/sbin/passmgmt ']' + '[' -f /usr/bin/chpass ']' + '[' -f /etc/pwconv ']' + '[' -f /usr/sbin/useradd ']' + case $TARGET in + case $TARGET in + defaultLogFacility=daemon + defaultCountryCode=1 + defaultAreaCode= + defaultLongDistancePrefix=1 + defaultInternationalPrefix=011 + defaultDialStringRules='"etc/dialrules"' + defaultServerTracing=1 + defaultContCoverPage= + defaultContCoverCmd='"bin/mkcover"' + defaultDestControls= + defaultMaxConcurrentCalls=1 + defaultMaxDials=12 + defaultMaxSendPages=0xffffffff + defaultMaxTries=3 + defaultModemGroup= + defaultPostScriptTimeout=180 + defaultPS2FaxCmd='"bin/ps2fax"' + defaultSendFaxCmd='"bin/faxsend"' + defaultSendPageCmd='"bin/pagesend"' + defaultSendUUCPCmd='"bin/uucpsend"' + defaultSessionTracing=0xffffffff + defaultTimeOfDay='"Any"' + defaultUse2D=Yes + defaultNotifyCmd='"bin/notify"' + defaultUUCPLockDir='"/var/lock"' + defaultUUCPLockTimeout=30 + defaultUUCPLockType='"ascii"' + CONFIG_FILES= + '[' -f /usr/sbin/faxsetup.local ']' + '[' -f /usr/sbin/faxsetup.i686-pc-linux2.6.18-6-686 ']' + '[' -f /usr/sbin/faxsetup.pc-linux2.6.18-6-686 ']' + '[' -f /usr/sbin/faxsetup.i686-pc-linux ']' + '[' -f /usr/sbin/faxsetup.pc-linux ']' + '[' -f /usr/sbin/faxsetup.i686-pc ']' + '[' -f /usr/sbin/faxsetup.pc ']' + '[' -f /usr/sbin/faxsetup.linux ']' + onServer + test yes = yes + REASON= + '[' no = yes ']' + '[' '' ']' + '[' '' ']' + '[' -f /var/spool/hylafax/etc/setup.cache ']' + Note 'Reading cached parameters from /var/spool/hylafax/etc/setup.cache.' + echo 'Reading cached parameters from /var/spool/hylafax/etc/setup.cache.' + Note '' + echo '' + . /var/spool/hylafax/etc/setup.cache ++ AWK=/usr/bin/awk ++ BASE64ENCODE=/usr/bin/base64 ++ BIN=/usr/bin ++ CAT=/bin/cat ++ CHGRP=/bin/chgrp ++ CHMOD=/bin/chmod ++ CHOWN=/bin/chown ++ CP=/bin/cp ++ DPSRIP=/usr/local/sbin/ps2fax.exe ++ ECHO=/bin/echo ++ ENCODING=base64 ++ FAXQ_SERVER=yes ++ FONTPATH=/usr/share/fonts/type1/gsfonts ++ FUSER=/bin/fuser ++ GREP=/bin/grep ++ GSRIP=/usr/bin/gs ++ HFAXD_OLD_PROTOCOL=no ++ HFAXD_SERVER=yes ++ HFAXD_SNPP_SERVER=no ++ IMPRIP=/usr/bin/psrip ++ LIBDATA=/etc/hylafax ++ LIBEXEC=/usr/sbin ++ LN=/bin/ln ++ MANDIR=/usr/share/man ++ MIMENCODE= ++ MKFIFO=/usr/bin/mkfifo ++ MV=/bin/mv ++ PATHEGETTY=/etc/hylafax/egetty-link ++ PATHGETTY=/etc/hylafax/getty-link ++ PATH=/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin ++ PATHVGETTY=/etc/hylafax/vgetty-link ++ PSPACKAGE=gs ++ QPENCODE=qp-encode ++ RM=/bin/rm ++ SBIN=/usr/sbin ++ SCRIPT_SH=/bin/bash ++ SED=/bin/sed ++ SENDMAIL=/usr/sbin/sendmail ++ SPOOL=/var/spool/hylafax ++ SYSVINIT= ++ TARGET=i686-pc-linux-gnu ++ TIFF2PDF=/usr/bin/tiff2pdf ++ TIFFBIN=/usr/bin ++ TTYCMD=/usr/bin/tty ++ UUCP_LOCKDIR=/var/lock ++ UUCP_LOCKTYPE=ascii ++ UUENCODE=/usr/bin/uuencode + '[' '!' -x /usr/bin/tiff2pdf ']' + '[' /usr/bin/tiff2pdf = bin/tiff2pdf ']' + test -x /usr/bin/uuencode ++ echo /usr/bin/base64 ++ /bin/sed -e 's/^ *//' -e 's/ .*$//' + cmd=/usr/bin/base64 + test -x /usr/bin/base64 + test -x /usr/bin/base64 + test -x /usr/bin/base64 + test -x /usr/bin/base64 + test -n /usr/bin/base64 + Note 'Found base64 encoder: /usr/bin/base64' + echo 'Found base64 encoder: /usr/bin/base64' ++ echo qp-encode ++ /bin/sed -e 's/^ *//' -e 's/ .*$//' + cmd=qp-encode + test -x qp-encode ++ findAppDef mimencode /usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin mimencode ++ app=mimencode ++ path=/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin ++ def=mimencode ++ case $app in ++ IFS=: ++ for i in '$path' ++ test -x /usr/sbin/mimencode ++ for i in '$path' ++ test -x /bin/mimencode ++ for i in '$path' ++ test -x /usr/bin/mimencode ++ for i in '$path' ++ test -x /etc/mimencode ++ for i in '$path' ++ test -x /usr/local/bin/mimencode ++ echo mimencode + cmd=mimencode + QPENCODE='mimencode -q' + test -x mimencode ++ findAppDef qp-encode /usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin qp-encode ++ app=qp-encode ++ path=/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin ++ def=qp-encode ++ case $app in ++ IFS=: ++ for i in '$path' ++ test -x /usr/sbin/qp-encode ++ for i in '$path' ++ test -x /bin/qp-encode ++ for i in '$path' ++ test -x /usr/bin/qp-encode ++ for i in '$path' ++ test -x /etc/qp-encode ++ for i in '$path' ++ test -x /usr/local/bin/qp-encode ++ echo qp-encode + QPENCODE=qp-encode + test -n qp-encode + Note 'Found Quoted-Printable encoder: qp-encode' + echo 'Found Quoted-Printable encoder: qp-encode' + '[' -n /usr/bin/base64 ']' + '[' base64 '!=' base64 ']' ++ echo '' ++ /bin/sed -e 's/^ *//' -e 's/ .*$//' + cmd= + test -x '' ++ findAppDef mimencode /usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin mimencode ++ app=mimencode ++ path=/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin ++ def=mimencode ++ case $app in ++ IFS=: ++ for i in '$path' ++ test -x /usr/sbin/mimencode ++ for i in '$path' ++ test -x /bin/mimencode ++ for i in '$path' ++ test -x /usr/bin/mimencode ++ for i in '$path' ++ test -x /etc/mimencode ++ for i in '$path' ++ test -x /usr/local/bin/mimencode ++ echo mimencode + MIMENCODE=mimencode + test -n mimencode + Note 'Found mimencode for compatibilty: mimencode' + echo 'Found mimencode for compatibilty: mimencode' + RM='/bin/rm -f' ++ id ++ /bin/sed -e 's/.*uid=[0-9]*(\([^)]*\)).*/\1/' + euid=root + test -z root + test -z root + '[' root '!=' root ']' + onClient + test no = yes + onServer + test yes = yes + Note 'Checking system for proper server configuration.' + echo 'Checking system for proper server configuration.' + onServer + test yes = yes + test -d /var/spool/hylafax + cd /var/spool/hylafax + DIRS='archive bin client config dev docq doneq etc info log pollq recvq sendq status tmp' + for i in '$DIRS' + test -d archive + for i in '$DIRS' + test -d bin + for i in '$DIRS' + test -d client + for i in '$DIRS' + test -d config + for i in '$DIRS' + test -d dev + for i in '$DIRS' + test -d docq + for i in '$DIRS' + test -d doneq + for i in '$DIRS' + test -d etc + for i in '$DIRS' + test -d info + for i in '$DIRS' + test -d log + for i in '$DIRS' + test -d pollq + for i in '$DIRS' + test -d recvq + for i in '$DIRS' + test -d sendq + for i in '$DIRS' + test -d status + for i in '$DIRS' + test -d tmp + TMPDIR=/tmp/.faxsetup.l20389 + test x/tmp/.faxsetup.l20389 = x + /bin/rm -f -rf /tmp/.faxsetup.l20389 + umask 077 + mkdir /tmp/.faxsetup.l20389 + JUNK=etc/setup.tmp + trap '/bin/rm -f $JUNK; /bin/rm -f -r $TMPDIR; exit 1' 1 2 15 + exec + echo '# Warning, this file was automatically generated by faxsetup' ++ date + echo '# on' Sun Apr 27 05:10:00 PDT 2008 'for root' + onClient + test no = yes + onServer + test yes = yes + test -d /usr/sbin + test -d /usr/sbin + test -d /var/lock + test -d /usr/bin + for file in tiffcp tiff2ps fax2ps tiffinfo + test -x /usr/bin/tiffcp + for file in tiffcp tiff2ps fax2ps tiffinfo + test -x /usr/bin/tiff2ps + for file in tiffcp tiff2ps fax2ps tiffinfo + test -x /usr/bin/fax2ps + for file in tiffcp tiff2ps fax2ps tiffinfo + test -x /usr/bin/tiffinfo + otherBasicServerChecks + true + test -d /usr/share/man + onServer + test yes = yes + test -x /etc/hylafax/getty-link + test -x /etc/hylafax/vgetty-link + warnAppMisConfigured /etc/hylafax/vgetty-link + cat
Warning: /etc/hylafax/vgetty-link does not exist or is not an executable program! The file: /etc/hylafax/vgetty-link does not exist or this file is not an executable program. The HylaFAX software optionally uses this program and the fact that it does not exist on the system is not a fatal error. If the program resides in a different location and you do not want to install a symbolic link for /etc/hylafax/vgetty-link that points to your program then you must reconfigure and rebuild HylaFAX from source code. + test -x /etc/hylafax/egetty-link + for i in '$CAT' '$CHGRP' '$CHMOD' '$CHOWN' '$CP' '$ECHO' '$GREP' '$LN' '$MKFIFO' '$MV' '$RMCMD' '$SED' '$SENDMAIL' + test -x /bin/cat + for i in '$CAT' '$CHGRP' '$CHMOD' '$CHOWN' '$CP' '$ECHO' '$GREP' '$LN' '$MKFIFO' '$MV' '$RMCMD' '$SED' '$SENDMAIL' + test -x /bin/chgrp + for i in '$CAT' '$CHGRP' '$CHMOD' '$CHOWN' '$CP' '$ECHO' '$GREP' '$LN' '$MKFIFO' '$MV' '$RMCMD' '$SED' '$SENDMAIL' + test -x /bin/chmod + for i in '$CAT' '$CHGRP' '$CHMOD' '$CHOWN' '$CP' '$ECHO' '$GREP' '$LN' '$MKFIFO' '$MV' '$RMCMD' '$SED' '$SENDMAIL' + test -x /bin/chown + for i in '$CAT' '$CHGRP' '$CHMOD' '$CHOWN' '$CP' '$ECHO' '$GREP' '$LN' '$MKFIFO' '$MV' '$RMCMD' '$SED' '$SENDMAIL' + test -x /bin/cp + for i in '$CAT' '$CHGRP' '$CHMOD' '$CHOWN' '$CP' '$ECHO' '$GREP' '$LN' '$MKFIFO' '$MV' '$RMCMD' '$SED' '$SENDMAIL' + test -x /bin/echo + for i in '$CAT' '$CHGRP' '$CHMOD' '$CHOWN' '$CP' '$ECHO' '$GREP' '$LN' '$MKFIFO' '$MV' '$RMCMD' '$SED' '$SENDMAIL' + test -x /bin/grep + for i in '$CAT' '$CHGRP' '$CHMOD' '$CHOWN' '$CP' '$ECHO' '$GREP' '$LN' '$MKFIFO' '$MV' '$RMCMD' '$SED' '$SENDMAIL' + test -x /bin/ln + for i in '$CAT' '$CHGRP' '$CHMOD' '$CHOWN' '$CP' '$ECHO' '$GREP' '$LN' '$MKFIFO' '$MV' '$RMCMD' '$SED' '$SENDMAIL' + test -x /usr/bin/mkfifo + for i in '$CAT' '$CHGRP' '$CHMOD' '$CHOWN' '$CP' '$ECHO' '$GREP' '$LN' '$MKFIFO' '$MV' '$RMCMD' '$SED' '$SENDMAIL' + test -x /bin/mv + for i in '$CAT' '$CHGRP' '$CHMOD' '$CHOWN' '$CP' '$ECHO' '$GREP' '$LN' '$MKFIFO' '$MV' '$RMCMD' '$SED' '$SENDMAIL' + test -x /bin/rm + for i in '$CAT' '$CHGRP' '$CHMOD' '$CHOWN' '$CP' '$ECHO' '$GREP' '$LN' '$MKFIFO' '$MV' '$RMCMD' '$SED' '$SENDMAIL' + test -x /bin/sed + for i in '$CAT' '$CHGRP' '$CHMOD' '$CHOWN' '$CP' '$ECHO' '$GREP' '$LN' '$MKFIFO' '$MV' '$RMCMD' '$SED' '$SENDMAIL' + test -x /usr/sbin/sendmail + case $MKFIFO in + /bin/rm -f conffifo + JUNK='etc/setup.tmp conffifo' + true + onServer + test yes = yes + test -x /usr/bin/awk + CheckAwk /usr/bin/awk + return + onClient + test no = yes + onClient + test no = yes + onServer + test yes = yes + cd /var/spool/hylafax + Note '' + echo '' + Note 'Make /var/spool/hylafax/bin/ps2fax a link to /var/spool/hylafax/bin/ps2fax.gs.' + echo 'Make /var/spool/hylafax/bin/ps2fax a link to /var/spool/hylafax/bin/ps2fax.gs.' + Note '' + echo '' + /bin/rm -f bin/ps2fax + /bin/rm -f bin/pdf2fax + '[' -n -s ']' + /bin/ln -s ps2fax.gs bin/ps2fax + '[' gs = gs ']' + Note '' + echo '' + Note 'Make /var/spool/hylafax/bin/pdf2fax a link to /var/spool/hylafax/bin/pdf2fax.gs.' + echo 'Make /var/spool/hylafax/bin/pdf2fax a link to /var/spool/hylafax/bin/pdf2fax.gs.' + Note '' + echo '' + /bin/ln -s pdf2fax.gs bin/pdf2fax ++ PickFile /etc/inetd.conf /etc/inetd.conf /etc/inet/inetd.conf ++ for i in '"$@"' ++ test -f /etc/inetd.conf ++ echo /etc/inetd.conf ++ return + INETDCONF=/etc/inetd.conf ++ PickFile /etc/aliases /etc/aliases /etc/ucbmail/aliases /etc/mail/aliases /usr/mmdf/table/alias.user /usr/mmdf/table/alias.n /etc/postfix/aliases ++ for i in '"$@"' ++ test -f /etc/aliases ++ echo /etc/aliases ++ return + ALIASES=/etc/aliases ++ PickFile /etc/services /etc/inet/services ++ for i in '"$@"' ++ test -f /etc/services ++ echo /etc/services ++ return + SERVICES=/etc/services + test -f /etc/master.passwd + t=hello + '[' hello '!=' hello ']' + onServer + test yes = yes + dumpPromptFuncs + cat ++ grep '^uucp:' /etc/passwd ++ cut -d: -f3 + faxUID=10 + '[' -z 10 ']' ++ grep '^uucp:' /etc/group ++ cut -d: -f3 + faxGID=10 + '[' -z 10 ']' + onServer + test yes = yes ++ grep '^uucp:' /etc/passwd ++ cut -d: -f3 + x=10 + '[' /etc/passwd = /etc/master.passwd ']' + PARAMLOC=6 + '[' -z 10 ']' + machdepPasswdWork + true + HOSTS=/var/spool/hylafax/etc/hosts.hfaxd + test -f /var/spool/hylafax/etc/hosts.hfaxd + /bin/chown 10 /var/spool/hylafax/etc/hosts.hfaxd + /bin/chgrp 10 /var/spool/hylafax/etc/hosts.hfaxd + /bin/chmod 600 /var/spool/hylafax/etc/hosts.hfaxd ++ /bin/sed -n '$p' + hasYP= ++ /bin/grep '^hylafax[ ]' /etc/services + x='hylafax 4559/tcp # HylaFAX client-server protocol (new)' + '[' -z 'hylafax 4559/tcp # HylaFAX client-server protocol (new)' ']' ++ /bin/grep '^snpp[ ]' /etc/services + x='snpp 444/tcp # Simple Network Paging Protocol snpp 444/udp' + '[' -z 'snpp 444/tcp # Simple Network Paging Protocol snpp 444/udp' ']' + onServer + test yes = yes + signalINETD=no + '[' -f /etc/init.d/hylafax ']' + '[' yes = no ']' + '[' -f /etc/inetd.conf ']' + '[' yes = no ']' + '[' '!' -f /etc/inetd.conf ']' + FAXMASTER=faxmaster + onServer + test yes = yes + '[' -r /var/spool/hylafax/status/any.info ']' ++ cat /var/spool/hylafax/status/any.info ++ /bin/grep -v 'HylaFAX version' ++ /bin/grep -v FaxMaster + INFO='faxmaster faxmaster faxmaster faxmaster faxmaster faxmaster faxmaster faxmaster faxmaster faxmaster' + '[' -d /var/spool/hylafax/status ']' + echo 'Update /var/spool/hylafax/status/any.info.' + echo 'HylaFAX version 4.4.4 built Wed Apr 9 14:52:55 CEST 2008 for i686-pc-linux-gnu' + echo faxmaster + echo faxmaster faxmaster faxmaster faxmaster faxmaster faxmaster faxmaster faxmaster faxmaster faxmaster + onServer + test yes = yes + ok=skip + '[' skip '!=' y ']' + '[' skip '!=' yes ']' + '[' skip '!=' skip ']' + printConfig + cat + prompt 'Are these ok [yes]?' + echo -n 'Are these ok [yes]? ' + read ok + test -z '' + ok=yes + case "$ok" in + continue + '[' yes '!=' y ']' + '[' yes '!=' yes ']' ++ findApp stty /usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin ++ findThing 'test -x' stty /usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin ++ t='test -x' ++ app=stty ++ path=/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin ++ case $app in ++ IFS=: ++ for i in '$path' ++ eval 'test -x' /usr/sbin/stty +++ test -x /usr/sbin/stty ++ for i in '$path' ++ eval 'test -x' /bin/stty +++ test -x /bin/stty ++ echo /bin/stty ++ return + STTYCMD=/bin/stty + dumpTTYFuncs + cat + dumpSTTYFuncs + cat + dumpOtherModemFuncs + true + /bin/rm -f etc/setup.modem + /bin/mv etc/setup.tmp etc/setup.modem + /bin/chmod 444 etc/setup.modem + /bin/rm -f etc/setup.cache + echo '# Warning, this file was automatically generated by faxsetup' ++ date + echo '# on' Sun Apr 27 05:10:01 PDT 2008 'for root' + dumpvals + echo 'SCRIPT_SH FONTPATH PATH_AFM AWK BASE64ENCODE BIN DIR_BIN CAT CHGRP CHMOD CHOWN CP DPSRIP PATH_DPSRIP ECHO ENCODING FAXQ_SERVER FUSER GREP GSRIP PATH_GSRIP HFAXD_SERVER HFAXD_OLD_PROTOCOL HFAXD_SNPP_SERVER IMPRIP PATH_IMPRIP LIBDATA DIR_LIBDATA LIBEXEC DIR_LIBEXEC LN MANDIR DIR_MAN MIMENCODE MKFIFO MV PATH PATHGETTY PATH_GETTY PATHVGETTY PATH_VGETTY PATHEGETTY PATH_EGETTY PSPACKAGE PS QPENCODE RM RMCMD SBIN DIR_SBIN SED SENDMAIL PATH_SENDMAIL SPOOL DIR_SPOOL SYSVINIT TIFF2PDF TIFFBIN TARGET TTYCMD UUENCODE UUCP_LOCKDIR DIR_LOCKS UUCP_LOCKTYPE LOCKS' + sort + read a b + eval 'c=$SCRIPT_SH' ++ c=/bin/bash + echo 'SCRIPT_SH='\''/bin/bash'\''' + read a b + eval 'c=$PATH_AFM' ++ c=/usr/share/fonts/type1/gsfonts + echo 'FONTPATH='\''/usr/share/fonts/type1/gsfonts'\''' + read a b + eval 'c=$AWK' ++ c=/usr/bin/awk + echo 'AWK='\''/usr/bin/awk'\''' + read a b + eval 'c=$BASE64ENCODE' ++ c=/usr/bin/base64 + echo 'BASE64ENCODE='\''/usr/bin/base64'\''' + read a b + eval 'c=$DIR_BIN' ++ c=/usr/bin + echo 'BIN='\''/usr/bin'\''' + read a b + eval 'c=$CAT' ++ c=/bin/cat + echo 'CAT='\''/bin/cat'\''' + read a b + eval 'c=$CHGRP' ++ c=/bin/chgrp + echo 'CHGRP='\''/bin/chgrp'\''' + read a b + eval 'c=$CHMOD' ++ c=/bin/chmod + echo 'CHMOD='\''/bin/chmod'\''' + read a b + eval 'c=$CHOWN' ++ c=/bin/chown + echo 'CHOWN='\''/bin/chown'\''' + read a b + eval 'c=$CP' ++ c=/bin/cp + echo 'CP='\''/bin/cp'\''' + read a b + eval 'c=$PATH_DPSRIP' ++ c=/usr/local/sbin/ps2fax.exe + echo 'DPSRIP='\''/usr/local/sbin/ps2fax.exe'\''' + read a b + eval 'c=$ECHO' ++ c=/bin/echo + echo 'ECHO='\''/bin/echo'\''' + read a b + eval 'c=$ENCODING' ++ c=base64 + echo 'ENCODING='\''base64'\''' + read a b + eval 'c=$FAXQ_SERVER' ++ c=yes + echo 'FAXQ_SERVER='\''yes'\''' + read a b + eval 'c=$FUSER' ++ c=/bin/fuser + echo 'FUSER='\''/bin/fuser'\''' + read a b + eval 'c=$GREP' ++ c=/bin/grep + echo 'GREP='\''/bin/grep'\''' + read a b + eval 'c=$PATH_GSRIP' ++ c=/usr/bin/gs + echo 'GSRIP='\''/usr/bin/gs'\''' + read a b + eval 'c=$HFAXD_SERVER' ++ c=yes + echo 'HFAXD_SERVER='\''yes'\''' + read a b + eval 'c=$HFAXD_OLD_PROTOCOL' ++ c=no + echo 'HFAXD_OLD_PROTOCOL='\''no'\''' + read a b + eval 'c=$HFAXD_SNPP_SERVER' ++ c=no + echo 'HFAXD_SNPP_SERVER='\''no'\''' + read a b + eval 'c=$PATH_IMPRIP' ++ c=/usr/bin/psrip + echo 'IMPRIP='\''/usr/bin/psrip'\''' + read a b + eval 'c=$DIR_LIBDATA' ++ c=/etc/hylafax + echo 'LIBDATA='\''/etc/hylafax'\''' + read a b + eval 'c=$DIR_LIBEXEC' ++ c=/usr/sbin + echo 'LIBEXEC='\''/usr/sbin'\''' + read a b + eval 'c=$LN' ++ c=/bin/ln + echo 'LN='\''/bin/ln'\''' + read a b + eval 'c=$DIR_MAN' ++ c=/usr/share/man + echo 'MANDIR='\''/usr/share/man'\''' + read a b + eval 'c=$MIMENCODE' ++ c=mimencode + echo 'MIMENCODE='\''mimencode'\''' + read a b + eval 'c=$MKFIFO' ++ c=/usr/bin/mkfifo + echo 'MKFIFO='\''/usr/bin/mkfifo'\''' + read a b + eval 'c=$MV' ++ c=/bin/mv + echo 'MV='\''/bin/mv'\''' + read a b + eval 'c=$PATH' ++ c=/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin + echo 'PATH='\''/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin'\''' + read a b + eval 'c=$PATH_GETTY' ++ c=/etc/hylafax/getty-link + echo 'PATHGETTY='\''/etc/hylafax/getty-link'\''' + read a b + eval 'c=$PATH_VGETTY' ++ c=/etc/hylafax/vgetty-link + echo 'PATHVGETTY='\''/etc/hylafax/vgetty-link'\''' + read a b + eval 'c=$PATH_EGETTY' ++ c=/etc/hylafax/egetty-link + echo 'PATHEGETTY='\''/etc/hylafax/egetty-link'\''' + read a b + eval 'c=$PS' ++ c=gs + echo 'PSPACKAGE='\''gs'\''' + read a b + eval 'c=$QPENCODE' ++ c=qp-encode + echo 'QPENCODE='\''qp-encode'\''' + read a b + eval 'c=$RMCMD' ++ c=/bin/rm + echo 'RM='\''/bin/rm'\''' + read a b + eval 'c=$DIR_SBIN' ++ c=/usr/sbin + echo 'SBIN='\''/usr/sbin'\''' + read a b + eval 'c=$SED' ++ c=/bin/sed + echo 'SED='\''/bin/sed'\''' + read a b + eval 'c=$PATH_SENDMAIL' ++ c=/usr/sbin/sendmail + echo 'SENDMAIL='\''/usr/sbin/sendmail'\''' + read a b + eval 'c=$DIR_SPOOL' ++ c=/var/spool/hylafax + echo 'SPOOL='\''/var/spool/hylafax'\''' + read a b + eval 'c=$SYSVINIT' ++ c= + echo 'SYSVINIT='\'''\''' + read a b + eval 'c=$TIFF2PDF' ++ c=/usr/bin/tiff2pdf + echo 'TIFF2PDF='\''/usr/bin/tiff2pdf'\''' + read a b + eval 'c=$TIFFBIN' ++ c=/usr/bin + echo 'TIFFBIN='\''/usr/bin'\''' + read a b + eval 'c=$TARGET' ++ c=i686-pc-linux-gnu + echo 'TARGET='\''i686-pc-linux-gnu'\''' + read a b + eval 'c=$TTYCMD' ++ c=/usr/bin/tty + echo 'TTYCMD='\''/usr/bin/tty'\''' + read a b + eval 'c=$UUENCODE' ++ c=/usr/bin/uuencode + echo 'UUENCODE='\''/usr/bin/uuencode'\''' + read a b + eval 'c=$DIR_LOCKS' ++ c=/var/lock + echo 'UUCP_LOCKDIR='\''/var/lock'\''' + read a b + eval 'c=$LOCKS' ++ c=ascii + echo 'UUCP_LOCKTYPE='\''ascii'\''' + read a b + /bin/chmod 444 etc/setup.cache + Note '' + echo '' + Note 'Modem support functions written to /var/spool/hylafax/etc/setup.modem.' + echo 'Modem support functions written to /var/spool/hylafax/etc/setup.modem.' + Note 'Configuration parameters written to /var/spool/hylafax/etc/setup.cache.' + echo 'Configuration parameters written to /var/spool/hylafax/etc/setup.cache.' + RequiredSchedulerParameters=' LogFacility CountryCode AreaCode LongDistancePrefix InternationalPrefix DialStringRules ServerTracing ' + OptionalSchedulerParameters=' ContCoverPage ContCoverCmd DestControls MaxConcurrentCalls MaxDials MaxSendPages MaxTries ModemGroup PostScriptTimeout PS2FaxCmd SendFaxCmd SendPageCmd SendUUCPCmd SessionTracing TimeOfDay Use2D ' + OptionalParameters=' ContCoverPage ContCoverCmd DestControls MaxConcurrentCalls MaxDials MaxSendPages MaxTries ModemGroup PostScriptTimeout PS2FaxCmd SendFaxCmd SendPageCmd SendUUCPCmd SessionTracing TimeOfDay Use2D JobReqOther NotifyCmd UUCPLockDir UUCPLockTimeout UUCPLockType ' + SchedulerParameters=' LogFacility CountryCode AreaCode LongDistancePrefix InternationalPrefix DialStringRules ServerTracing ContCoverPage ContCoverCmd DestControls MaxConcurrentCalls MaxDials MaxSendPages MaxTries ModemGroup PostScriptTimeout PS2FaxCmd SendFaxCmd SendPageCmd SendUUCPCmd SessionTracing TimeOfDay Use2D JobReqOther NotifyCmd UUCPLockDir UUCPLockTimeout UUCPLockType ' + CONFIG=/var/spool/hylafax/etc/config + onServer + test yes = yes + '[' '!' -f /var/spool/hylafax/etc/config ']' + onServer + test yes = yes + echo '' + echo 'Restarting HylaFAX server processes.' ++ findproc hfaxd +++ ps ax +++ /usr/bin/awk ' /[\/ (]hfaxd[ )]/ {print $1;} /[\/ ]hfaxd$/ {print $1;}' ++ pid=11266 ++ test 11266 ++ echo 11266 + HFAXD=11266 ++ findproc faxd +++ ps ax +++ /usr/bin/awk ' /[\/ (]faxd[ )]/ {print $1;} /[\/ ]faxd$/ {print $1;}' ++ pid= ++ test '' +++ ps -e +++ /usr/bin/awk '/ faxd[ ]*$/ {print $1;}' ++ pid= ++ echo '' + FAXD= + '[' '' ']' ++ findproc faxq +++ ps ax +++ /usr/bin/awk ' /[\/ (]faxq[ )]/ {print $1;} /[\/ ]faxq$/ {print $1;}' ++ pid=11263 ++ test 11263 ++ echo 11263 + FAXQ=11263 + '[' 11263 ']' + cat + prompt 'Can I terminate this faxq process (11263) [yes]?' + echo -n 'Can I terminate this faxq process (11263) [yes]? ' + read x + isOK no ']' + x=no + test -z no + test no = y + test no = yes + '[' 11263 ']' + cat + boom + /bin/rm -f etc/setup.tmp conffifo + test x/tmp/.faxsetup.l20389 '!=' x + /bin/rm -f -r /tmp/.faxsetup.l20389 + exit 1